{"info":{"_postman_id":"42030ccc-0c43-429d-a428-37cca7f7d101","name":"Unbox GQL — Partner","description":"<html><head></head><body><h1 id=\"api-de-parceiros-unbox-graphql\">API de Parceiros Unbox (GraphQL)</h1>\n<p>API GraphQL para integradores parceiros da Unbox — consulta de catálogo, geração de checkout hospedado, acompanhamento de pedidos, cupons, estoque e configurações da loja. Todas as operações são feitas via <code>POST</code> no mesmo endpoint GraphQL; cada request desta collection representa uma operação (query ou mutation) nomeada.</p>\n<h2 id=\"autenticação\">Autenticação</h2>\n<p>Toda a API exige <strong>dois headers</strong> em cada chamada:</p>\n<ol>\n<li><code>x-api-key: {{api_key}}</code> — identifica o seu app/consumidor no gateway.</li>\n<li><code>Authorization: {{authorization}}</code> — o <code>access_token</code> obtido via a mutation <code>signIn</code>. <strong>Envie o token puro, sem o prefixo <code>Bearer</code></strong> — prefixá-lo quebra a autenticação.</li>\n</ol>\n<p>Fluxo: chame <code>signIn</code> (que exige apenas <code>x-api-key</code>) com as credenciais da conta parceira. Ela retorna um <code>access_token</code>; use-o no header <code>Authorization</code> de todas as demais chamadas. O token expira — quando isso ocorrer, chame <code>signIn</code> novamente (não há operação de refresh).</p>\n<h2 id=\"shopid-resolvido-pelo-seu-token\">shopId (resolvido pelo seu token)</h2>\n<p>Em várias operações o <code>shopId</code> da sua loja é <strong>derivado automaticamente do seu token</strong> — você <strong>não envia</strong> <code>shopId</code>. Basta autenticar. As operações com esse comportamento são: <code>discountCodes</code>, <code>tag</code>, <code>tags</code>, <code>simpleInventory</code>, <code>shopSettings</code>, <code>orderByReferenceId</code>, <code>productGroup</code> e <code>getInstallments</code>. (A exceção é <code>createCartByTemplate</code>, que pede <code>shopId</code> explicitamente — documentado na própria operação.)</p>\n<h2 id=\"base-url-erros-e-limites\">Base URL, erros e limites</h2>\n<ul>\n<li><strong>Base URL:</strong> <code>{{base_url}}</code> (o endpoint GraphQL da API de parceiros).</li>\n<li><strong>Formato de erro:</strong> a API segue o padrão GraphQL — em caso de falha, a resposta vem com <strong>HTTP 200</strong> e um array <code>errors[]</code> (<code>{ message, extensions.code }</code>), inclusive quando a operação não teve sucesso. <strong>Sempre verifique <code>errors</code>, não apenas o status HTTP.</strong> Nem todo erro traz um <code>extensions.code</code> estável; quando não houver, identifique o caso pela <code>message</code>.</li>\n<li><strong>Rate limits:</strong> aplicáveis por chave; consulte seu contato Unbox para os limites do seu contrato.</li>\n</ul>\n<h2 id=\"primeiros-passos\">Primeiros passos</h2>\n<ol>\n<li><code>signIn</code> — obtenha o <code>access_token</code>.</li>\n<li><code>createExternalCheckout</code> — fluxo principal: gera o link de pagamento a partir do seu carrinho.</li>\n<li>Catálogo — <code>products</code> / <code>product</code> / <code>productGroup</code> para montar os itens.</li>\n<li><code>getInstallments</code> — opções de parcelamento para exibir antes do checkout.</li>\n<li><code>paymentLinks</code> — acompanhe os links gerados.</li>\n<li><code>orders</code> / <code>orderByReferenceId</code> — status pós-compra.</li>\n<li><code>shopSettings</code> — configurações da sua loja.</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"API de Parceiros Unbox (GraphQL)","slug":"api-de-parceiros-unbox-graphql"}],"owner":"33994726","collectionId":"42030ccc-0c43-429d-a428-37cca7f7d101","publishedId":"2sBY4Qtfg1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-26T05:02:41.000Z"},"item":[{"name":"Accounts","item":[{"name":"Mutation","item":[{"name":"[Mutation] signIn","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns signIn data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"signIn\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","// --- Auto-save variables ---","if (pm.response.code === 200) {","    const jsonData = pm.response.json();","    if (jsonData?.data?.signIn?.access_token) {","        pm.environment.set(\"authorization\", jsonData?.data?.signIn?.access_token);","        console.log(\"✅ Saved authorization from data.signIn.access_token\");","    }","}"]}}],"id":"5ecb9986-e277-5637-9077-f85ec9db5e6f","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SignIn($input: SignInInput!) {\n  signIn(input: $input) {\n    access_token\n    id_token\n  }\n}","variables":"{\n  \"input\": {\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"signin\">signIn</h2>\n<p><strong>Propósito:</strong> Autentica uma conta parceira e retorna o <code>access_token</code> usado em todas as demais operações da API.\n<strong>Quando usar:</strong> É a primeira chamada de qualquer integração — antes de <code>signIn</code> nenhuma outra operação pode ser autenticada. Chame novamente sempre que o <code>access_token</code> expirar; não há operação de refresh separada. Não é destrutiva e pode ser repetida com as mesmas credenciais sem efeito colateral negativo, mas cada chamada emite um novo par de tokens.\n<strong>Autenticação:</strong> exige apenas o header <code>x-api-key</code> (ver tabela de Headers). Não envia <code>Authorization</code> — é esta operação que produz o token usado nas demais.</p>\n<h3 id=\"headers\">Headers</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>x-api-key</code></td>\n<td>Sim</td>\n<td>Identifica seu app/consumidor na API. Ausente ou inválido, a chamada é rejeitada no gateway com <strong>HTTP não-200</strong>, fora do padrão <code>errors[]</code> (que usa HTTP 200); trate como falha de transporte, não como erro de negócio.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.username</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>-</td>\n<td>Identificador da conta parceira (usuário cadastrado).</td>\n</tr>\n<tr>\n<td><code>input.password</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>-</td>\n<td>Senha da conta parceira.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>Em caso de sucesso, retorna os tokens de sessão da conta autenticada.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>access_token</code></td>\n<td><code>String</code></td>\n<td>Token a ser enviado em <code>Authorization: &lt;access_token&gt;</code> em todas as demais chamadas.</td>\n</tr>\n<tr>\n<td><code>id_token</code></td>\n<td><code>String</code></td>\n<td>Token informativo sobre a identidade autenticada. Não é aceito em nenhuma outra operação da API.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>INVALID_CREDENTIALS_ERROR</code></td>\n<td>Usuário/senha incorretos, conta inexistente ou loja associada bloqueada.</td>\n<td>Reapresente credenciais corretas. Se o erro persistir com credenciais que você sabe estarem corretas, contate o suporte Unbox (a loja pode estar bloqueada).</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio.</p>\n<p><strong>Gotcha:</strong> para <code>signIn</code>, o código do erro (ex.: <code>INVALID_CREDENTIALS_ERROR</code>) vem em <code>errors[].message</code>. O campo <code>errors[].extensions.code</code> desta operação <strong>não</strong> carrega o código específico — trate-o como não confiável para decisão de fluxo em <code>signIn</code> e faça o parsing do erro por <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>O <code>id_token</code> não substitui o <code>access_token</code>: use sempre <code>access_token</code> no header <code>Authorization</code> das demais chamadas.</li>\n<li>Credenciais inválidas e loja bloqueada são indistinguíveis na resposta (mesmo código) por design — não construa lógica de retry/diagnóstico que dependa de diferenciá-los.</li>\n<li>Não há expiração informada no retorno; trate um novo <code>INVALID_CREDENTIALS_ERROR</code>/falha de autorização em operações subsequentes como sinal para chamar <code>signIn</code> novamente.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9652c23a-7ee9-4e4b-9cb8-da851008e6ca","name":"200 - signIn","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SignIn($input: SignInInput!) {\n  signIn(input: $input) {\n    access_token\n    id_token\n  }\n}","variables":"{\n  \"input\": {\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n  }\n}"}},"url":"{{base_url}}","description":"## signIn\n\n**Propósito:** Autentica uma conta parceira e retorna o `access_token` usado em todas as demais operações da API.\n**Quando usar:** É a primeira chamada de qualquer integração — antes de `signIn` nenhuma outra operação pode ser autenticada. Chame novamente sempre que o `access_token` expirar; não há operação de refresh separada. Não é destrutiva e pode ser repetida com as mesmas credenciais sem efeito colateral negativo, mas cada chamada emite um novo par de tokens.\n**Autenticação:** exige apenas o header `x-api-key` (ver tabela de Headers). Não envia `Authorization` — é esta operação que produz o token usado nas demais.\n\n### Headers\n\n| Header      | Obrigatório | Descrição                                                                                                                                                                                                                 |\n| ----------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `x-api-key` | Sim         | Identifica seu app/consumidor na API. Ausente ou inválido, a chamada é rejeitada no gateway com **HTTP não-200**, fora do padrão `errors[]` (que usa HTTP 200); trate como falha de transporte, não como erro de negócio. |\n\n### Argumentos\n\n| Nome             | Tipo      | Obrigatório | Default | Descrição                                             |\n| ---------------- | --------- | ----------- | ------- | ----------------------------------------------------- |\n| `input.username` | `String!` | Sim         | -       | Identificador da conta parceira (usuário cadastrado). |\n| `input.password` | `String!` | Sim         | -       | Senha da conta parceira.                              |\n\n### Retorno\n\nEm caso de sucesso, retorna os tokens de sessão da conta autenticada.\n\n| Propriedade    | Tipo     | Descrição                                                                                        |\n| -------------- | -------- | ------------------------------------------------------------------------------------------------ |\n| `access_token` | `String` | Token a ser enviado em `Authorization: <access_token>` em todas as demais chamadas.              |\n| `id_token`     | `String` | Token informativo sobre a identidade autenticada. Não é aceito em nenhuma outra operação da API. |\n\n### Erros\n\n| Código                      | Condição                                                                 | O que fazer                                                                                                                                                  |\n| --------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_CREDENTIALS_ERROR` | Usuário/senha incorretos, conta inexistente ou loja associada bloqueada. | Reapresente credenciais corretas. Se o erro persistir com credenciais que você sabe estarem corretas, contate o suporte Unbox (a loja pode estar bloqueada). |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n>\n> **Gotcha:** para `signIn`, o código do erro (ex.: `INVALID_CREDENTIALS_ERROR`) vem em `errors[].message`. O campo `errors[].extensions.code` desta operação **não** carrega o código específico — trate-o como não confiável para decisão de fluxo em `signIn` e faça o parsing do erro por `message`.\n\n### Notas\n\n- O `id_token` não substitui o `access_token`: use sempre `access_token` no header `Authorization` das demais chamadas.\n- Credenciais inválidas e loja bloqueada são indistinguíveis na resposta (mesmo código) por design — não construa lógica de retry/diagnóstico que dependa de diferenciá-los.\n- Não há expiração informada no retorno; trate um novo `INVALID_CREDENTIALS_ERROR`/falha de autorização em operações subsequentes como sinal para chamar `signIn` novamente."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"signIn\": {\n      \"access_token\": \"Example_String\",\n      \"id_token\": \"Example_String\"\n    }\n  }\n}"},{"id":"055f6ec7-6bc4-407f-8662-5ead09971609","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SignIn($input: SignInInput!) {\n  signIn(input: $input) {\n    access_token\n    id_token\n  }\n}","variables":"{\n  \"input\": {\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n  }\n}"}},"url":"{{base_url}}","description":"## signIn\n\n**Propósito:** Autentica uma conta parceira e retorna o `access_token` usado em todas as demais operações da API.\n**Quando usar:** É a primeira chamada de qualquer integração — antes de `signIn` nenhuma outra operação pode ser autenticada. Chame novamente sempre que o `access_token` expirar; não há operação de refresh separada. Não é destrutiva e pode ser repetida com as mesmas credenciais sem efeito colateral negativo, mas cada chamada emite um novo par de tokens.\n**Autenticação:** exige apenas o header `x-api-key` (ver tabela de Headers). Não envia `Authorization` — é esta operação que produz o token usado nas demais.\n\n### Headers\n\n| Header      | Obrigatório | Descrição                                                                                                                                                                                                                 |\n| ----------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `x-api-key` | Sim         | Identifica seu app/consumidor na API. Ausente ou inválido, a chamada é rejeitada no gateway com **HTTP não-200**, fora do padrão `errors[]` (que usa HTTP 200); trate como falha de transporte, não como erro de negócio. |\n\n### Argumentos\n\n| Nome             | Tipo      | Obrigatório | Default | Descrição                                             |\n| ---------------- | --------- | ----------- | ------- | ----------------------------------------------------- |\n| `input.username` | `String!` | Sim         | -       | Identificador da conta parceira (usuário cadastrado). |\n| `input.password` | `String!` | Sim         | -       | Senha da conta parceira.                              |\n\n### Retorno\n\nEm caso de sucesso, retorna os tokens de sessão da conta autenticada.\n\n| Propriedade    | Tipo     | Descrição                                                                                        |\n| -------------- | -------- | ------------------------------------------------------------------------------------------------ |\n| `access_token` | `String` | Token a ser enviado em `Authorization: <access_token>` em todas as demais chamadas.              |\n| `id_token`     | `String` | Token informativo sobre a identidade autenticada. Não é aceito em nenhuma outra operação da API. |\n\n### Erros\n\n| Código                      | Condição                                                                 | O que fazer                                                                                                                                                  |\n| --------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_CREDENTIALS_ERROR` | Usuário/senha incorretos, conta inexistente ou loja associada bloqueada. | Reapresente credenciais corretas. Se o erro persistir com credenciais que você sabe estarem corretas, contate o suporte Unbox (a loja pode estar bloqueada). |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n>\n> **Gotcha:** para `signIn`, o código do erro (ex.: `INVALID_CREDENTIALS_ERROR`) vem em `errors[].message`. O campo `errors[].extensions.code` desta operação **não** carrega o código específico — trate-o como não confiável para decisão de fluxo em `signIn` e faça o parsing do erro por `message`.\n\n### Notas\n\n- O `id_token` não substitui o `access_token`: use sempre `access_token` no header `Authorization` das demais chamadas.\n- Credenciais inválidas e loja bloqueada são indistinguíveis na resposta (mesmo código) por design — não construa lógica de retry/diagnóstico que dependa de diferenciá-los.\n- Não há expiração informada no retorno; trate um novo `INVALID_CREDENTIALS_ERROR`/falha de autorização em operações subsequentes como sinal para chamar `signIn` novamente."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"316ee306-6264-45bb-816c-a2b0c72e38e7","name":"Erro - INVALID_CREDENTIALS_ERROR","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SignIn($input: SignInInput!) {\n  signIn(input: $input) {\n    access_token\n    id_token\n  }\n}","variables":"{\n  \"input\": {\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n  }\n}"}},"url":"{{base_url}}","description":"## signIn\n\n**Propósito:** Autentica uma conta parceira e retorna o `access_token` usado em todas as demais operações da API.\n**Quando usar:** É a primeira chamada de qualquer integração — antes de `signIn` nenhuma outra operação pode ser autenticada. Chame novamente sempre que o `access_token` expirar; não há operação de refresh separada. Não é destrutiva e pode ser repetida com as mesmas credenciais sem efeito colateral negativo, mas cada chamada emite um novo par de tokens.\n**Autenticação:** exige apenas o header `x-api-key` (ver tabela de Headers). Não envia `Authorization` — é esta operação que produz o token usado nas demais.\n\n### Headers\n\n| Header      | Obrigatório | Descrição                                                                                                                                                                                                                 |\n| ----------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `x-api-key` | Sim         | Identifica seu app/consumidor na API. Ausente ou inválido, a chamada é rejeitada no gateway com **HTTP não-200**, fora do padrão `errors[]` (que usa HTTP 200); trate como falha de transporte, não como erro de negócio. |\n\n### Argumentos\n\n| Nome             | Tipo      | Obrigatório | Default | Descrição                                             |\n| ---------------- | --------- | ----------- | ------- | ----------------------------------------------------- |\n| `input.username` | `String!` | Sim         | -       | Identificador da conta parceira (usuário cadastrado). |\n| `input.password` | `String!` | Sim         | -       | Senha da conta parceira.                              |\n\n### Retorno\n\nEm caso de sucesso, retorna os tokens de sessão da conta autenticada.\n\n| Propriedade    | Tipo     | Descrição                                                                                        |\n| -------------- | -------- | ------------------------------------------------------------------------------------------------ |\n| `access_token` | `String` | Token a ser enviado em `Authorization: <access_token>` em todas as demais chamadas.              |\n| `id_token`     | `String` | Token informativo sobre a identidade autenticada. Não é aceito em nenhuma outra operação da API. |\n\n### Erros\n\n| Código                      | Condição                                                                 | O que fazer                                                                                                                                                  |\n| --------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_CREDENTIALS_ERROR` | Usuário/senha incorretos, conta inexistente ou loja associada bloqueada. | Reapresente credenciais corretas. Se o erro persistir com credenciais que você sabe estarem corretas, contate o suporte Unbox (a loja pode estar bloqueada). |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n>\n> **Gotcha:** para `signIn`, o código do erro (ex.: `INVALID_CREDENTIALS_ERROR`) vem em `errors[].message`. O campo `errors[].extensions.code` desta operação **não** carrega o código específico — trate-o como não confiável para decisão de fluxo em `signIn` e faça o parsing do erro por `message`.\n\n### Notas\n\n- O `id_token` não substitui o `access_token`: use sempre `access_token` no header `Authorization` das demais chamadas.\n- Credenciais inválidas e loja bloqueada são indistinguíveis na resposta (mesmo código) por design — não construa lógica de retry/diagnóstico que dependa de diferenciá-los.\n- Não há expiração informada no retorno; trate um novo `INVALID_CREDENTIALS_ERROR`/falha de autorização em operações subsequentes como sinal para chamar `signIn` novamente."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": null,\n  \"errors\": [\n    {\n      \"message\": \"Invalid credentials error\",\n      \"extensions\": {\n        \"code\": \"INVALID_CREDENTIALS_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"60ec4bcc-850d-4f62-bcab-094f9790367f","name":"Erro - USER_ACCOUNT_METADATA_UPDATE_ERROR","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SignIn($input: SignInInput!) {\n  signIn(input: $input) {\n    access_token\n    id_token\n  }\n}","variables":"{\n  \"input\": {\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n  }\n}"}},"url":"{{base_url}}","description":"## signIn\n\n**Propósito:** Autentica uma conta parceira e retorna o `access_token` usado em todas as demais operações da API.\n**Quando usar:** É a primeira chamada de qualquer integração — antes de `signIn` nenhuma outra operação pode ser autenticada. Chame novamente sempre que o `access_token` expirar; não há operação de refresh separada. Não é destrutiva e pode ser repetida com as mesmas credenciais sem efeito colateral negativo, mas cada chamada emite um novo par de tokens.\n**Autenticação:** exige apenas o header `x-api-key` (ver tabela de Headers). Não envia `Authorization` — é esta operação que produz o token usado nas demais.\n\n### Headers\n\n| Header      | Obrigatório | Descrição                                                                                                                                                                                                                 |\n| ----------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `x-api-key` | Sim         | Identifica seu app/consumidor na API. Ausente ou inválido, a chamada é rejeitada no gateway com **HTTP não-200**, fora do padrão `errors[]` (que usa HTTP 200); trate como falha de transporte, não como erro de negócio. |\n\n### Argumentos\n\n| Nome             | Tipo      | Obrigatório | Default | Descrição                                             |\n| ---------------- | --------- | ----------- | ------- | ----------------------------------------------------- |\n| `input.username` | `String!` | Sim         | -       | Identificador da conta parceira (usuário cadastrado). |\n| `input.password` | `String!` | Sim         | -       | Senha da conta parceira.                              |\n\n### Retorno\n\nEm caso de sucesso, retorna os tokens de sessão da conta autenticada.\n\n| Propriedade    | Tipo     | Descrição                                                                                        |\n| -------------- | -------- | ------------------------------------------------------------------------------------------------ |\n| `access_token` | `String` | Token a ser enviado em `Authorization: <access_token>` em todas as demais chamadas.              |\n| `id_token`     | `String` | Token informativo sobre a identidade autenticada. Não é aceito em nenhuma outra operação da API. |\n\n### Erros\n\n| Código                      | Condição                                                                 | O que fazer                                                                                                                                                  |\n| --------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_CREDENTIALS_ERROR` | Usuário/senha incorretos, conta inexistente ou loja associada bloqueada. | Reapresente credenciais corretas. Se o erro persistir com credenciais que você sabe estarem corretas, contate o suporte Unbox (a loja pode estar bloqueada). |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n>\n> **Gotcha:** para `signIn`, o código do erro (ex.: `INVALID_CREDENTIALS_ERROR`) vem em `errors[].message`. O campo `errors[].extensions.code` desta operação **não** carrega o código específico — trate-o como não confiável para decisão de fluxo em `signIn` e faça o parsing do erro por `message`.\n\n### Notas\n\n- O `id_token` não substitui o `access_token`: use sempre `access_token` no header `Authorization` das demais chamadas.\n- Credenciais inválidas e loja bloqueada são indistinguíveis na resposta (mesmo código) por design — não construa lógica de retry/diagnóstico que dependa de diferenciá-los.\n- Não há expiração informada no retorno; trate um novo `INVALID_CREDENTIALS_ERROR`/falha de autorização em operações subsequentes como sinal para chamar `signIn` novamente."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": null,\n  \"errors\": [\n    {\n      \"message\": \"User account metadata update error\",\n      \"extensions\": {\n        \"code\": \"USER_ACCOUNT_METADATA_UPDATE_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"5ecb9986-e277-5637-9077-f85ec9db5e6f"}],"id":"82e819bb-f61d-4e60-8c78-6bccda9718e8","_postman_id":"82e819bb-f61d-4e60-8c78-6bccda9718e8","description":""}],"id":"6f3f81ae-817d-403d-9ed9-3e002bd0a3c9","description":"<h1 id=\"autenticação\">Autenticação</h1>\n<p>Domínio responsável por autenticar parceiros na API. Hoje expõe uma única operação, <code>signIn</code>, que troca usuário e senha por um <code>access_token</code> válido para todas as demais chamadas da API de parceiros.</p>\n<h2 id=\"fluxo-de-autenticação\">Fluxo de autenticação</h2>\n<ol>\n<li>Chame a mutation <code>signIn</code> enviando <code>username</code> e <code>password</code> da conta parceira, junto com o header obrigatório <code>x-api-key</code> (ver tabela abaixo).</li>\n<li>Em caso de sucesso, <code>signIn</code> retorna <code>access_token</code> e <code>id_token</code>. Use o <code>access_token</code>; o <code>id_token</code> é apenas informativo e não é aceito em nenhuma outra operação.</li>\n<li>Envie o <code>access_token</code> no header <code>Authorization: &lt;access_token&gt;</code> em toda chamada seguinte. <strong>Envie o token puro, sem o prefixo <code>Bearer</code></strong> — prefixá-lo quebra a autenticação.</li>\n<li>O <code>access_token</code> expira. Não há uma operação de \"refresh\" separada — quando expirar, chame <code>signIn</code> novamente para obter um novo par de tokens.</li>\n</ol>\n<h2 id=\"headers-por-chamada\">Headers por chamada</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Uso</th>\n<th>Obrigatório em</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>x-api-key</code></td>\n<td>Identifica seu app/consumidor na API</td>\n<td>Todas as chamadas, incluindo <code>signIn</code></td>\n</tr>\n<tr>\n<td><code>Authorization</code></td>\n<td><code>&lt;access_token&gt;</code> obtido via <code>signIn</code></td>\n<td>Todas as chamadas exceto <code>signIn</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"shopid-derivado-do-token\">shopId derivado do token</h2>\n<p>A partir do <code>access_token</code> obtido em <code>signIn</code>, várias operações da API deixam de exigir o argumento <code>shopId</code>: ele é derivado automaticamente do seu token no momento da chamada. Nessas operações você não envia (e não consegue enviar) <code>shopId</code> explicitamente — basta autenticar com o <code>Authorization</code> correto. Cada operação afetada documenta isso individualmente na sua própria página.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><code>signIn</code> pode ser chamado quantas vezes forem necessárias com as mesmas credenciais; cada chamada gera um novo par de tokens, sem efeito colateral negativo em chamadas repetidas.</li>\n<li>Por segurança, credenciais inválidas, conta inexistente e conta de loja bloqueada retornam o mesmo código de erro (<code>INVALID_CREDENTIALS_ERROR</code>) — a resposta não diferencia o motivo exato.</li>\n<li>Erros de negócio em <code>signIn</code> chegam com <strong>HTTP 200</strong> e um array <code>errors[]</code>, como em toda a API. Para este domínio, valide o erro por <code>errors[].message</code> — ver detalhes e gotcha específico na página da operação.</li>\n</ul>\n","_postman_id":"6f3f81ae-817d-403d-9ed9-3e002bd0a3c9"},{"name":"Carts","item":[{"name":"Query","item":[{"name":"[Query] cartTemplate","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns cartTemplate data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"cartTemplate\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"cartTemplate returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.cartTemplate;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"referenceId\");","        if (data.referenceId !== undefined && data.referenceId !== null) {","            pm.expect(typeof data.referenceId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"type\");","        if (data.type !== undefined && data.type !== null) {","            pm.expect(typeof data.type).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"shopId\");","        if (data.shopId !== undefined && data.shopId !== null) {","            pm.expect(typeof data.shopId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.updatedAt !== undefined && data.updatedAt !== null) {","            pm.expect(typeof data.updatedAt).to.equal(\"string\");","        }","        if (data.updatedAt) {","            pm.expect(new Date(data.updatedAt).toString()).to.not.equal(\"Invalid Date\");","        }","        pm.expect(data).to.have.property(\"title\");","        if (data.title !== undefined && data.title !== null) {","            pm.expect(typeof data.title).to.equal(\"string\");","        }","        if (data.createdBy !== undefined && data.createdBy !== null) {","            pm.expect(typeof data.createdBy).to.equal(\"string\");","        }","        if (data.updatedBy !== undefined && data.updatedBy !== null) {","            pm.expect(typeof data.updatedBy).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"totalAmount\");","        if (data.totalAmount !== undefined && data.totalAmount !== null) {","            pm.expect(typeof data.totalAmount).to.equal(\"number\");","        }","    }","});"]}}],"id":"11f7810b-c1b6-5ab5-9a39-dd5fc82c8dfe","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplate($cartTemplateId: ID!) {\n  cartTemplate(cartTemplateId: $cartTemplateId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartTemplateId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"carttemplate\">cartTemplate</h2>\n<p><strong>Propósito:</strong> Retorna um único template de carrinho pelo <code>_id</code>.\n<strong>Quando usar:</strong> Para consultar os detalhes de um template específico antes de usá-lo em <code>createCartByTemplate</code>, ou para conferir seu estado (<code>status</code>, <code>isSoldOut</code>, <code>isExpired</code>) — use quando você já tem o <code>_id</code>. Para buscar por outros critérios, use <code>cartTemplates</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cartTemplateId</code></td>\n<td>ID!</td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do template de carrinho a buscar.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CartTemplate</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador do template.</td>\n</tr>\n<tr>\n<td><code>referenceId</code></td>\n<td><code>String!</code></td>\n<td>Identificador legível, único por loja.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td><code>String!</code></td>\n<td>Título do template.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>CartTemplateStatus!</code></td>\n<td><code>ACTIVE</code> ou <code>PAUSED</code>. Templates <code>PAUSED</code> não podem ser usados em <code>createCartByTemplate</code> (ver Erros nessa operação).</td>\n</tr>\n<tr>\n<td><code>isSoldOut</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando <code>constraints.usageLimit</code> está definido e <code>ordersCount</code> já atingiu esse limite. Calculado a cada consulta.</td>\n</tr>\n<tr>\n<td><code>isExpired</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando a data atual passou de <code>constraints.expirationDate</code>. Calculado a cada consulta.</td>\n</tr>\n<tr>\n<td><code>totalAmount</code></td>\n<td><code>Money!</code></td>\n<td>Soma do preço <strong>atual no catálogo</strong> dos itens do template × quantidade — recalculada a cada consulta, não congelada no momento da criação.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>[CartTemplateItem!]!</code></td>\n<td>Itens do template. Cada item traz <code>product</code>, <code>variant</code>/<code>variants</code>, <code>quantity</code>, <code>isRecurring</code>, <code>isVisible</code>. Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente (o array pode vir mais curto que o originalmente configurado).</td>\n</tr>\n<tr>\n<td><code>discount</code></td>\n<td><code>Discount</code></td>\n<td>Código de desconto vinculado ao template, se houver.</td>\n</tr>\n<tr>\n<td><code>recurringItemsFrequency</code></td>\n<td><code>RecurringOrderFrequency</code></td>\n<td>Frequência de recorrência vinculada, se <code>recurringItemsFrequencyId</code> estiver configurado; <code>null</code> caso contrário ou se a frequência não existir mais entre as permitidas pela loja.</td>\n</tr>\n<tr>\n<td><code>shipping</code></td>\n<td><code>CartTemplateShipping</code></td>\n<td><code>fulfillmentType</code>, <code>fulfillmentOptions</code>, <code>shippingValue</code> configurados no template.</td>\n</tr>\n<tr>\n<td><code>constraints</code></td>\n<td><code>CheckoutTemplateConstraints</code></td>\n<td><code>usageLimit</code>, <code>expirationDate</code>.</td>\n</tr>\n<tr>\n<td><code>ordersCount</code></td>\n<td><code>Int</code></td>\n<td>Quantidade de carrinhos já criados a partir deste template.</td>\n</tr>\n<tr>\n<td><code>paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Forma de pagamento vinculada ao template, se aplicável.</td>\n</tr>\n<tr>\n<td><code>blockPaymentMethodChange</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, o carrinho criado a partir deste template não permite trocar a forma de pagamento.</td>\n</tr>\n<tr>\n<td><code>blockApplyDiscountCode</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, códigos de desconto não podem ser aplicados ao carrinho criado a partir deste template.</td>\n</tr>\n<tr>\n<td><code>blockApplyShopSale</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, promoções da loja não são aplicadas automaticamente ao carrinho.</td>\n</tr>\n<tr>\n<td><code>createdAt</code> / <code>updatedAt</code></td>\n<td><code>AWSDateTime!</code> / <code>AWSDateTime</code></td>\n<td>Datas de criação/atualização.</td>\n</tr>\n<tr>\n<td><code>createdBy</code> / <code>updatedBy</code></td>\n<td><code>String</code></td>\n<td>Identificador de quem criou/atualizou o template.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CART_TEMPLATE_NOT_FOUND_ERROR</code></td>\n<td>Não existe template não-excluído com o <code>cartTemplateId</code> informado na sua loja.</td>\n<td>Confira se o <code>_id</code> está correto e se o template pertence à loja autenticada.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Autenticação/permissão ausente ou inválida: a mensagem começa com <code>\"Unauthorized\"</code>.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não retorna <code>null</code> quando não encontrado — lança erro.</strong> Apesar do tipo de retorno (<code>CartTemplate</code>, sem <code>!</code>) sugerir que a query poderia devolver <code>null</code> para um ID inexistente, o comportamento real é lançar <code>CART_TEMPLATE_NOT_FOUND_ERROR</code>. Trate \"não encontrado\" como item em <code>errors[]</code>, não como <code>data.cartTemplate: null</code>.</li>\n<li><strong><code>totalAmount</code> reflete o preço de hoje no catálogo, não o preço de quando o template foi criado.</strong> Se você precisa saber o valor exato que será cobrado ao criar o carrinho, consulte novamente antes de chamar <code>createCartByTemplate</code> — o preço pode ter mudado desde a última consulta.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b7c5fe63-1ecc-4cb7-9bf4-9f52f4b94c03","name":"200 - cartTemplate","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplate($cartTemplateId: ID!) {\n  cartTemplate(cartTemplateId: $cartTemplateId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartTemplateId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## cartTemplate\n\n**Propósito:** Retorna um único template de carrinho pelo `_id`.\n**Quando usar:** Para consultar os detalhes de um template específico antes de usá-lo em `createCartByTemplate`, ou para conferir seu estado (`status`, `isSoldOut`, `isExpired`) — use quando você já tem o `_id`. Para buscar por outros critérios, use `cartTemplates`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome             | Tipo | Obrigatório | Default | Descrição                               |\n| ---------------- | ---- | ----------- | ------- | --------------------------------------- |\n| `cartTemplateId` | ID!  | Sim         | —       | `_id` do template de carrinho a buscar. |\n\n### Retorno\n\n`CartTemplate`:\n\n| Propriedade                | Tipo                           | Descrição                                                                                                                                                                                                                                                      |\n| -------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                      | `ID!`                          | Identificador do template.                                                                                                                                                                                                                                     |\n| `referenceId`              | `String!`                      | Identificador legível, único por loja.                                                                                                                                                                                                                         |\n| `title`                    | `String!`                      | Título do template.                                                                                                                                                                                                                                            |\n| `status`                   | `CartTemplateStatus!`          | `ACTIVE` ou `PAUSED`. Templates `PAUSED` não podem ser usados em `createCartByTemplate` (ver Erros nessa operação).                                                                                                                                            |\n| `isSoldOut`                | `Boolean!`                     | `true` quando `constraints.usageLimit` está definido e `ordersCount` já atingiu esse limite. Calculado a cada consulta.                                                                                                                                        |\n| `isExpired`                | `Boolean!`                     | `true` quando a data atual passou de `constraints.expirationDate`. Calculado a cada consulta.                                                                                                                                                                  |\n| `totalAmount`              | `Money!`                       | Soma do preço **atual no catálogo** dos itens do template × quantidade — recalculada a cada consulta, não congelada no momento da criação.                                                                                                                     |\n| `items`                    | `[CartTemplateItem!]!`         | Itens do template. Cada item traz `product`, `variant`/`variants`, `quantity`, `isRecurring`, `isVisible`. Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente (o array pode vir mais curto que o originalmente configurado). |\n| `discount`                 | `Discount`                     | Código de desconto vinculado ao template, se houver.                                                                                                                                                                                                           |\n| `recurringItemsFrequency`  | `RecurringOrderFrequency`      | Frequência de recorrência vinculada, se `recurringItemsFrequencyId` estiver configurado; `null` caso contrário ou se a frequência não existir mais entre as permitidas pela loja.                                                                              |\n| `shipping`                 | `CartTemplateShipping`         | `fulfillmentType`, `fulfillmentOptions`, `shippingValue` configurados no template.                                                                                                                                                                             |\n| `constraints`              | `CheckoutTemplateConstraints`  | `usageLimit`, `expirationDate`.                                                                                                                                                                                                                                |\n| `ordersCount`              | `Int`                          | Quantidade de carrinhos já criados a partir deste template.                                                                                                                                                                                                    |\n| `paymentMethod`            | `PaymentMethodName`            | Forma de pagamento vinculada ao template, se aplicável.                                                                                                                                                                                                        |\n| `blockPaymentMethodChange` | `Boolean`                      | Se `true`, o carrinho criado a partir deste template não permite trocar a forma de pagamento.                                                                                                                                                                  |\n| `blockApplyDiscountCode`   | `Boolean`                      | Se `true`, códigos de desconto não podem ser aplicados ao carrinho criado a partir deste template.                                                                                                                                                             |\n| `blockApplyShopSale`       | `Boolean`                      | Se `true`, promoções da loja não são aplicadas automaticamente ao carrinho.                                                                                                                                                                                    |\n| `createdAt` / `updatedAt`  | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização.                                                                                                                                                                                                                                  |\n| `createdBy` / `updatedBy`  | `String`                       | Identificador de quem criou/atualizou o template.                                                                                                                                                                                                              |\n\n### Erros\n\n| Código                          | Condição                                                                            | O que fazer                                                                  |\n| ------------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |\n| `CART_TEMPLATE_NOT_FOUND_ERROR` | Não existe template não-excluído com o `cartTemplateId` informado na sua loja.      | Confira se o `_id` está correto e se o template pertence à loja autenticada. |\n| _(sem código)_                  | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.           |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Não retorna `null` quando não encontrado — lança erro.** Apesar do tipo de retorno (`CartTemplate`, sem `!`) sugerir que a query poderia devolver `null` para um ID inexistente, o comportamento real é lançar `CART_TEMPLATE_NOT_FOUND_ERROR`. Trate \"não encontrado\" como item em `errors[]`, não como `data.cartTemplate: null`.\n- **`totalAmount` reflete o preço de hoje no catálogo, não o preço de quando o template foi criado.** Se você precisa saber o valor exato que será cobrado ao criar o carrinho, consulte novamente antes de chamar `createCartByTemplate` — o preço pode ter mudado desde a última consulta."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"cartTemplate\": {\n      \"_id\": \"Example_ID\",\n      \"referenceId\": \"Example_String\",\n      \"type\": \"Example_String\",\n      \"shopId\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"title\": \"Example_String\",\n      \"createdBy\": \"Example_String\",\n      \"updatedBy\": \"Example_String\",\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"ordersCount\": 10,\n      \"constraints\": {\n        \"usageLimit\": 10,\n        \"expirationDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": \"ACTIVE\",\n      \"isSoldOut\": true,\n      \"isExpired\": true,\n      \"shipping\": {\n        \"fulfillmentType\": \"SHIPPING\"\n      },\n      \"items\": [\n        {\n          \"quantity\": 1,\n          \"isRecurring\": true,\n          \"isVisible\": true\n        }\n      ],\n      \"discount\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      },\n      \"recurringItemsFrequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"c924aba6-d654-44e1-8d34-2228cbe8d6d8","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplate($cartTemplateId: ID!) {\n  cartTemplate(cartTemplateId: $cartTemplateId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartTemplateId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## cartTemplate\n\n**Propósito:** Retorna um único template de carrinho pelo `_id`.\n**Quando usar:** Para consultar os detalhes de um template específico antes de usá-lo em `createCartByTemplate`, ou para conferir seu estado (`status`, `isSoldOut`, `isExpired`) — use quando você já tem o `_id`. Para buscar por outros critérios, use `cartTemplates`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome             | Tipo | Obrigatório | Default | Descrição                               |\n| ---------------- | ---- | ----------- | ------- | --------------------------------------- |\n| `cartTemplateId` | ID!  | Sim         | —       | `_id` do template de carrinho a buscar. |\n\n### Retorno\n\n`CartTemplate`:\n\n| Propriedade                | Tipo                           | Descrição                                                                                                                                                                                                                                                      |\n| -------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                      | `ID!`                          | Identificador do template.                                                                                                                                                                                                                                     |\n| `referenceId`              | `String!`                      | Identificador legível, único por loja.                                                                                                                                                                                                                         |\n| `title`                    | `String!`                      | Título do template.                                                                                                                                                                                                                                            |\n| `status`                   | `CartTemplateStatus!`          | `ACTIVE` ou `PAUSED`. Templates `PAUSED` não podem ser usados em `createCartByTemplate` (ver Erros nessa operação).                                                                                                                                            |\n| `isSoldOut`                | `Boolean!`                     | `true` quando `constraints.usageLimit` está definido e `ordersCount` já atingiu esse limite. Calculado a cada consulta.                                                                                                                                        |\n| `isExpired`                | `Boolean!`                     | `true` quando a data atual passou de `constraints.expirationDate`. Calculado a cada consulta.                                                                                                                                                                  |\n| `totalAmount`              | `Money!`                       | Soma do preço **atual no catálogo** dos itens do template × quantidade — recalculada a cada consulta, não congelada no momento da criação.                                                                                                                     |\n| `items`                    | `[CartTemplateItem!]!`         | Itens do template. Cada item traz `product`, `variant`/`variants`, `quantity`, `isRecurring`, `isVisible`. Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente (o array pode vir mais curto que o originalmente configurado). |\n| `discount`                 | `Discount`                     | Código de desconto vinculado ao template, se houver.                                                                                                                                                                                                           |\n| `recurringItemsFrequency`  | `RecurringOrderFrequency`      | Frequência de recorrência vinculada, se `recurringItemsFrequencyId` estiver configurado; `null` caso contrário ou se a frequência não existir mais entre as permitidas pela loja.                                                                              |\n| `shipping`                 | `CartTemplateShipping`         | `fulfillmentType`, `fulfillmentOptions`, `shippingValue` configurados no template.                                                                                                                                                                             |\n| `constraints`              | `CheckoutTemplateConstraints`  | `usageLimit`, `expirationDate`.                                                                                                                                                                                                                                |\n| `ordersCount`              | `Int`                          | Quantidade de carrinhos já criados a partir deste template.                                                                                                                                                                                                    |\n| `paymentMethod`            | `PaymentMethodName`            | Forma de pagamento vinculada ao template, se aplicável.                                                                                                                                                                                                        |\n| `blockPaymentMethodChange` | `Boolean`                      | Se `true`, o carrinho criado a partir deste template não permite trocar a forma de pagamento.                                                                                                                                                                  |\n| `blockApplyDiscountCode`   | `Boolean`                      | Se `true`, códigos de desconto não podem ser aplicados ao carrinho criado a partir deste template.                                                                                                                                                             |\n| `blockApplyShopSale`       | `Boolean`                      | Se `true`, promoções da loja não são aplicadas automaticamente ao carrinho.                                                                                                                                                                                    |\n| `createdAt` / `updatedAt`  | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização.                                                                                                                                                                                                                                  |\n| `createdBy` / `updatedBy`  | `String`                       | Identificador de quem criou/atualizou o template.                                                                                                                                                                                                              |\n\n### Erros\n\n| Código                          | Condição                                                                            | O que fazer                                                                  |\n| ------------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |\n| `CART_TEMPLATE_NOT_FOUND_ERROR` | Não existe template não-excluído com o `cartTemplateId` informado na sua loja.      | Confira se o `_id` está correto e se o template pertence à loja autenticada. |\n| _(sem código)_                  | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.           |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Não retorna `null` quando não encontrado — lança erro.** Apesar do tipo de retorno (`CartTemplate`, sem `!`) sugerir que a query poderia devolver `null` para um ID inexistente, o comportamento real é lançar `CART_TEMPLATE_NOT_FOUND_ERROR`. Trate \"não encontrado\" como item em `errors[]`, não como `data.cartTemplate: null`.\n- **`totalAmount` reflete o preço de hoje no catálogo, não o preço de quando o template foi criado.** Se você precisa saber o valor exato que será cobrado ao criar o carrinho, consulte novamente antes de chamar `createCartByTemplate` — o preço pode ter mudado desde a última consulta."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"824b41c2-ea96-45ad-83fe-d65b04bdd147","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplate($cartTemplateId: ID!) {\n  cartTemplate(cartTemplateId: $cartTemplateId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartTemplateId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## cartTemplate\n\n**Propósito:** Retorna um único template de carrinho pelo `_id`.\n**Quando usar:** Para consultar os detalhes de um template específico antes de usá-lo em `createCartByTemplate`, ou para conferir seu estado (`status`, `isSoldOut`, `isExpired`) — use quando você já tem o `_id`. Para buscar por outros critérios, use `cartTemplates`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome             | Tipo | Obrigatório | Default | Descrição                               |\n| ---------------- | ---- | ----------- | ------- | --------------------------------------- |\n| `cartTemplateId` | ID!  | Sim         | —       | `_id` do template de carrinho a buscar. |\n\n### Retorno\n\n`CartTemplate`:\n\n| Propriedade                | Tipo                           | Descrição                                                                                                                                                                                                                                                      |\n| -------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                      | `ID!`                          | Identificador do template.                                                                                                                                                                                                                                     |\n| `referenceId`              | `String!`                      | Identificador legível, único por loja.                                                                                                                                                                                                                         |\n| `title`                    | `String!`                      | Título do template.                                                                                                                                                                                                                                            |\n| `status`                   | `CartTemplateStatus!`          | `ACTIVE` ou `PAUSED`. Templates `PAUSED` não podem ser usados em `createCartByTemplate` (ver Erros nessa operação).                                                                                                                                            |\n| `isSoldOut`                | `Boolean!`                     | `true` quando `constraints.usageLimit` está definido e `ordersCount` já atingiu esse limite. Calculado a cada consulta.                                                                                                                                        |\n| `isExpired`                | `Boolean!`                     | `true` quando a data atual passou de `constraints.expirationDate`. Calculado a cada consulta.                                                                                                                                                                  |\n| `totalAmount`              | `Money!`                       | Soma do preço **atual no catálogo** dos itens do template × quantidade — recalculada a cada consulta, não congelada no momento da criação.                                                                                                                     |\n| `items`                    | `[CartTemplateItem!]!`         | Itens do template. Cada item traz `product`, `variant`/`variants`, `quantity`, `isRecurring`, `isVisible`. Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente (o array pode vir mais curto que o originalmente configurado). |\n| `discount`                 | `Discount`                     | Código de desconto vinculado ao template, se houver.                                                                                                                                                                                                           |\n| `recurringItemsFrequency`  | `RecurringOrderFrequency`      | Frequência de recorrência vinculada, se `recurringItemsFrequencyId` estiver configurado; `null` caso contrário ou se a frequência não existir mais entre as permitidas pela loja.                                                                              |\n| `shipping`                 | `CartTemplateShipping`         | `fulfillmentType`, `fulfillmentOptions`, `shippingValue` configurados no template.                                                                                                                                                                             |\n| `constraints`              | `CheckoutTemplateConstraints`  | `usageLimit`, `expirationDate`.                                                                                                                                                                                                                                |\n| `ordersCount`              | `Int`                          | Quantidade de carrinhos já criados a partir deste template.                                                                                                                                                                                                    |\n| `paymentMethod`            | `PaymentMethodName`            | Forma de pagamento vinculada ao template, se aplicável.                                                                                                                                                                                                        |\n| `blockPaymentMethodChange` | `Boolean`                      | Se `true`, o carrinho criado a partir deste template não permite trocar a forma de pagamento.                                                                                                                                                                  |\n| `blockApplyDiscountCode`   | `Boolean`                      | Se `true`, códigos de desconto não podem ser aplicados ao carrinho criado a partir deste template.                                                                                                                                                             |\n| `blockApplyShopSale`       | `Boolean`                      | Se `true`, promoções da loja não são aplicadas automaticamente ao carrinho.                                                                                                                                                                                    |\n| `createdAt` / `updatedAt`  | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização.                                                                                                                                                                                                                                  |\n| `createdBy` / `updatedBy`  | `String`                       | Identificador de quem criou/atualizou o template.                                                                                                                                                                                                              |\n\n### Erros\n\n| Código                          | Condição                                                                            | O que fazer                                                                  |\n| ------------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |\n| `CART_TEMPLATE_NOT_FOUND_ERROR` | Não existe template não-excluído com o `cartTemplateId` informado na sua loja.      | Confira se o `_id` está correto e se o template pertence à loja autenticada. |\n| _(sem código)_                  | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.           |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Não retorna `null` quando não encontrado — lança erro.** Apesar do tipo de retorno (`CartTemplate`, sem `!`) sugerir que a query poderia devolver `null` para um ID inexistente, o comportamento real é lançar `CART_TEMPLATE_NOT_FOUND_ERROR`. Trate \"não encontrado\" como item em `errors[]`, não como `data.cartTemplate: null`.\n- **`totalAmount` reflete o preço de hoje no catálogo, não o preço de quando o template foi criado.** Se você precisa saber o valor exato que será cobrado ao criar o carrinho, consulte novamente antes de chamar `createCartByTemplate` — o preço pode ter mudado desde a última consulta."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"11f7810b-c1b6-5ab5-9a39-dd5fc82c8dfe"},{"name":"[Query] cartTemplates","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns cartTemplates data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"cartTemplates\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"cartTemplates returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.cartTemplates;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"e4e421df-f343-54b7-8f80-2ba9eae3fc8e","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplates($filters: CartTemplateFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: CartTemplateSortByField) {\n  cartTemplates(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        ordersCount\n        constraints {\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        items {\n          quantity\n          product {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          variant {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          isRecurring\n          isVisible\n        }\n        discount {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        recurringItemsFrequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      ordersCount\n      constraints {\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      items {\n        quantity\n        product {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        variant {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        isRecurring\n        isVisible\n      }\n      discount {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      recurringItemsFrequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"carttemplates\">cartTemplates</h2>\n<p><strong>Propósito:</strong> Lista os templates de carrinho da sua loja, com filtros e paginação Relay.\n<strong>Quando usar:</strong> Para escolher qual template usar em <code>createCartByTemplate</code> sem precisar guardar o <code>_id</code> de cada um — filtre por status, período ou texto livre. Para buscar um único template já conhecido, use <code>cartTemplate</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>CartTemplateFilterInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Ver tabela de filtros abaixo.</td>\n</tr>\n<tr>\n<td><code>after</code> / <code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor Relay para paginação para frente/para trás.</td>\n</tr>\n<tr>\n<td><code>first</code> / <code>last</code></td>\n<td><code>Int</code> (1–50)</td>\n<td>Não</td>\n<td>20 (se nenhum for enviado)</td>\n<td>Tamanho da página. Envie <strong>apenas um</strong> dos dois — <code>first</code> com <code>after</code>, ou <code>last</code> com <code>before</code>.</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Pula os N primeiros resultados. Pode ser combinado com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td><code>asc</code> ou <code>desc</code>.</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>CartTemplateSortByField</code></td>\n<td>Não</td>\n<td><code>CREATED_AT</code></td>\n<td><code>TITLE</code>, <code>CREATED_AT</code>, <code>EXPIRATION_DATE</code>, <code>STATUS</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-filters-carttemplatefilterinput\">Campos de <code>filters</code> (<code>CartTemplateFilterInput</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td><code>String</code></td>\n<td>Filtro por título, contendo o texto (case-insensitive).</td>\n</tr>\n<tr>\n<td><code>textQuery</code></td>\n<td><code>String</code></td>\n<td>Busca livre que casa contra <code>title</code> <strong>ou</strong> <code>referenceId</code> (case-insensitive).</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>[CartTemplateStatus]</code></td>\n<td>Restringe a uma ou mais das opções <code>ACTIVE</code>, <code>PAUSED</code>.</td>\n</tr>\n<tr>\n<td><code>isSoldOut</code></td>\n<td><code>Boolean</code></td>\n<td>Filtra pelo valor calculado de <code>isSoldOut</code> (ver folder para como é calculado).</td>\n</tr>\n<tr>\n<td><code>isExpired</code></td>\n<td><code>Boolean</code></td>\n<td>Filtra pelo valor calculado de <code>isExpired</code>.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>DateFilterInput</code></td>\n<td><code>{ gte, lte }</code> em <code>AWSDateTime</code>, ambos opcionais.</td>\n</tr>\n<tr>\n<td><code>expirationDate</code></td>\n<td><code>DateFilterInput</code></td>\n<td>Mesma forma de <code>createdAt</code>, aplicada à data de expiração configurada em <code>constraints.expirationDate</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Diferente de <code>paymentLinks</code>, este filtro <strong>não</strong> tem <code>fulfillmentTypes</code>.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CartTemplateConnection!</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[CartTemplate]</code></td>\n<td>Lista de templates — mesma forma retornada por <code>cartTemplate</code>.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[CartTemplateEdge]</code></td>\n<td><code>{ cursor, node }</code>, para clientes que paginam via cursor por edge em vez de <code>nodes</code> diretamente.</td>\n</tr>\n<tr>\n<td><code>pageInfo</code></td>\n<td><code>PageInfo!</code></td>\n<td><code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de templates que casam com os filtros, ignorando paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code> e <code>last</code> enviados juntos.</td>\n<td>Envie apenas um dos dois.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code>/<code>last</code> fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado.</td>\n<td>Corrija o valor conforme a tabela de argumentos; verifique <code>message</code> do erro.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Autenticação/permissão ausente ou inválida: a mensagem começa com <code>\"Unauthorized\"</code>.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Erros de validação de argumentos não carregam um <code>extensions.code</code> estável — confira sempre <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>totalAmount</code> de cada item é recalculado do preço atual do catálogo</strong>, não congelado no momento da criação do template (diferente de <code>paymentLinks</code>). Ver a página do folder <strong>Carrinhos</strong> para o detalhe completo dessa diferença.</li>\n<li>Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente de <code>items[]</code> em cada template retornado.</li>\n<li>Sem <code>first</code>/<code>last</code>, o tamanho de página padrão é 20.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cca717a9-1475-476c-8023-88a0b9291a7f","name":"200 - cartTemplates","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplates($filters: CartTemplateFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: CartTemplateSortByField) {\n  cartTemplates(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        ordersCount\n        constraints {\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        items {\n          quantity\n          product {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          variant {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          isRecurring\n          isVisible\n        }\n        discount {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        recurringItemsFrequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      ordersCount\n      constraints {\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      items {\n        quantity\n        product {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        variant {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        isRecurring\n        isVisible\n      }\n      discount {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      recurringItemsFrequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"## cartTemplates\n\n**Propósito:** Lista os templates de carrinho da sua loja, com filtros e paginação Relay.\n**Quando usar:** Para escolher qual template usar em `createCartByTemplate` sem precisar guardar o `_id` de cada um — filtre por status, período ou texto livre. Para buscar um único template já conhecido, use `cartTemplate`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome               | Tipo                      | Obrigatório | Default                    | Descrição                                                                                      |\n| ------------------ | ------------------------- | ----------- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| `filters`          | `CartTemplateFilterInput` | Não         | —                          | Ver tabela de filtros abaixo.                                                                  |\n| `after` / `before` | `String`                  | Não         | —                          | Cursor Relay para paginação para frente/para trás.                                             |\n| `first` / `last`   | `Int` (1–50)              | Não         | 20 (se nenhum for enviado) | Tamanho da página. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. |\n| `offset`           | `Int`                     | Não         | —                          | Pula os N primeiros resultados. Pode ser combinado com `first`.                                |\n| `sortOrder`        | `SortOrder`               | Não         | `desc`                     | `asc` ou `desc`.                                                                               |\n| `sortBy`           | `CartTemplateSortByField` | Não         | `CREATED_AT`               | `TITLE`, `CREATED_AT`, `EXPIRATION_DATE`, `STATUS`.                                            |\n\n#### Campos de `filters` (`CartTemplateFilterInput`)\n\n| Nome             | Tipo                   | Descrição                                                                                             |\n| ---------------- | ---------------------- | ----------------------------------------------------------------------------------------------------- |\n| `title`          | `String`               | Filtro por título, contendo o texto (case-insensitive).                                               |\n| `textQuery`      | `String`               | Busca livre que casa contra `title` **ou** `referenceId` (case-insensitive).                          |\n| `status`         | `[CartTemplateStatus]` | Restringe a uma ou mais das opções `ACTIVE`, `PAUSED`.                                                |\n| `isSoldOut`      | `Boolean`              | Filtra pelo valor calculado de `isSoldOut` (ver folder para como é calculado).                        |\n| `isExpired`      | `Boolean`              | Filtra pelo valor calculado de `isExpired`.                                                           |\n| `createdAt`      | `DateFilterInput`      | `{ gte, lte }` em `AWSDateTime`, ambos opcionais.                                                     |\n| `expirationDate` | `DateFilterInput`      | Mesma forma de `createdAt`, aplicada à data de expiração configurada em `constraints.expirationDate`. |\n\nDiferente de `paymentLinks`, este filtro **não** tem `fulfillmentTypes`.\n\n### Retorno\n\n`CartTemplateConnection!`:\n\n| Propriedade  | Tipo                 | Descrição                                                                                        |\n| ------------ | -------------------- | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[CartTemplate]`     | Lista de templates — mesma forma retornada por `cartTemplate`.                                   |\n| `edges`      | `[CartTemplateEdge]` | `{ cursor, node }`, para clientes que paginam via cursor por edge em vez de `nodes` diretamente. |\n| `pageInfo`   | `PageInfo!`          | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                                    |\n| `totalCount` | `Int!`               | Total de templates que casam com os filtros, ignorando paginação.                                |\n\n### Erros\n\n| Código         | Condição                                                                                       | O que fazer                                                                   |\n| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| _(sem código)_ | `first` e `last` enviados juntos.                                                              | Envie apenas um dos dois.                                                     |\n| _(sem código)_ | `first`/`last` fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado. | Corrija o valor conforme a tabela de argumentos; verifique `message` do erro. |\n| _(sem código)_ | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação de argumentos não carregam um `extensions.code` estável — confira sempre `message`.\n\n### Notas\n\n- **`totalAmount` de cada item é recalculado do preço atual do catálogo**, não congelado no momento da criação do template (diferente de `paymentLinks`). Ver a página do folder **Carrinhos** para o detalhe completo dessa diferença.\n- Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente de `items[]` em cada template retornado.\n- Sem `first`/`last`, o tamanho de página padrão é 20."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"cartTemplates\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"referenceId\": \"Example_String\",\n          \"type\": \"Example_String\",\n          \"shopId\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"title\": \"Example_String\",\n          \"createdBy\": \"Example_String\",\n          \"updatedBy\": \"Example_String\",\n          \"ordersCount\": 10,\n          \"status\": \"ACTIVE\",\n          \"isSoldOut\": true,\n          \"isExpired\": true,\n          \"blockPaymentMethodChange\": true,\n          \"blockApplyDiscountCode\": true,\n          \"blockApplyShopSale\": true\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"c291a53d-0107-4ea7-a4db-82639bd6f78d","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplates($filters: CartTemplateFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: CartTemplateSortByField) {\n  cartTemplates(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        ordersCount\n        constraints {\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        items {\n          quantity\n          product {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          variant {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          isRecurring\n          isVisible\n        }\n        discount {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        recurringItemsFrequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      ordersCount\n      constraints {\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      items {\n        quantity\n        product {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        variant {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        isRecurring\n        isVisible\n      }\n      discount {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      recurringItemsFrequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"## cartTemplates\n\n**Propósito:** Lista os templates de carrinho da sua loja, com filtros e paginação Relay.\n**Quando usar:** Para escolher qual template usar em `createCartByTemplate` sem precisar guardar o `_id` de cada um — filtre por status, período ou texto livre. Para buscar um único template já conhecido, use `cartTemplate`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome               | Tipo                      | Obrigatório | Default                    | Descrição                                                                                      |\n| ------------------ | ------------------------- | ----------- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| `filters`          | `CartTemplateFilterInput` | Não         | —                          | Ver tabela de filtros abaixo.                                                                  |\n| `after` / `before` | `String`                  | Não         | —                          | Cursor Relay para paginação para frente/para trás.                                             |\n| `first` / `last`   | `Int` (1–50)              | Não         | 20 (se nenhum for enviado) | Tamanho da página. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. |\n| `offset`           | `Int`                     | Não         | —                          | Pula os N primeiros resultados. Pode ser combinado com `first`.                                |\n| `sortOrder`        | `SortOrder`               | Não         | `desc`                     | `asc` ou `desc`.                                                                               |\n| `sortBy`           | `CartTemplateSortByField` | Não         | `CREATED_AT`               | `TITLE`, `CREATED_AT`, `EXPIRATION_DATE`, `STATUS`.                                            |\n\n#### Campos de `filters` (`CartTemplateFilterInput`)\n\n| Nome             | Tipo                   | Descrição                                                                                             |\n| ---------------- | ---------------------- | ----------------------------------------------------------------------------------------------------- |\n| `title`          | `String`               | Filtro por título, contendo o texto (case-insensitive).                                               |\n| `textQuery`      | `String`               | Busca livre que casa contra `title` **ou** `referenceId` (case-insensitive).                          |\n| `status`         | `[CartTemplateStatus]` | Restringe a uma ou mais das opções `ACTIVE`, `PAUSED`.                                                |\n| `isSoldOut`      | `Boolean`              | Filtra pelo valor calculado de `isSoldOut` (ver folder para como é calculado).                        |\n| `isExpired`      | `Boolean`              | Filtra pelo valor calculado de `isExpired`.                                                           |\n| `createdAt`      | `DateFilterInput`      | `{ gte, lte }` em `AWSDateTime`, ambos opcionais.                                                     |\n| `expirationDate` | `DateFilterInput`      | Mesma forma de `createdAt`, aplicada à data de expiração configurada em `constraints.expirationDate`. |\n\nDiferente de `paymentLinks`, este filtro **não** tem `fulfillmentTypes`.\n\n### Retorno\n\n`CartTemplateConnection!`:\n\n| Propriedade  | Tipo                 | Descrição                                                                                        |\n| ------------ | -------------------- | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[CartTemplate]`     | Lista de templates — mesma forma retornada por `cartTemplate`.                                   |\n| `edges`      | `[CartTemplateEdge]` | `{ cursor, node }`, para clientes que paginam via cursor por edge em vez de `nodes` diretamente. |\n| `pageInfo`   | `PageInfo!`          | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                                    |\n| `totalCount` | `Int!`               | Total de templates que casam com os filtros, ignorando paginação.                                |\n\n### Erros\n\n| Código         | Condição                                                                                       | O que fazer                                                                   |\n| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| _(sem código)_ | `first` e `last` enviados juntos.                                                              | Envie apenas um dos dois.                                                     |\n| _(sem código)_ | `first`/`last` fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado. | Corrija o valor conforme a tabela de argumentos; verifique `message` do erro. |\n| _(sem código)_ | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação de argumentos não carregam um `extensions.code` estável — confira sempre `message`.\n\n### Notas\n\n- **`totalAmount` de cada item é recalculado do preço atual do catálogo**, não congelado no momento da criação do template (diferente de `paymentLinks`). Ver a página do folder **Carrinhos** para o detalhe completo dessa diferença.\n- Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente de `items[]` em cada template retornado.\n- Sem `first`/`last`, o tamanho de página padrão é 20."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"da85ae24-79ff-462c-89c2-07bc3dcf8368","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CartTemplates($filters: CartTemplateFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: CartTemplateSortByField) {\n  cartTemplates(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        ordersCount\n        constraints {\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        items {\n          quantity\n          product {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          variant {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          isRecurring\n          isVisible\n        }\n        discount {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        recurringItemsFrequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      ordersCount\n      constraints {\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      items {\n        quantity\n        product {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        variant {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        isRecurring\n        isVisible\n      }\n      discount {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      recurringItemsFrequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"## cartTemplates\n\n**Propósito:** Lista os templates de carrinho da sua loja, com filtros e paginação Relay.\n**Quando usar:** Para escolher qual template usar em `createCartByTemplate` sem precisar guardar o `_id` de cada um — filtre por status, período ou texto livre. Para buscar um único template já conhecido, use `cartTemplate`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome               | Tipo                      | Obrigatório | Default                    | Descrição                                                                                      |\n| ------------------ | ------------------------- | ----------- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| `filters`          | `CartTemplateFilterInput` | Não         | —                          | Ver tabela de filtros abaixo.                                                                  |\n| `after` / `before` | `String`                  | Não         | —                          | Cursor Relay para paginação para frente/para trás.                                             |\n| `first` / `last`   | `Int` (1–50)              | Não         | 20 (se nenhum for enviado) | Tamanho da página. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. |\n| `offset`           | `Int`                     | Não         | —                          | Pula os N primeiros resultados. Pode ser combinado com `first`.                                |\n| `sortOrder`        | `SortOrder`               | Não         | `desc`                     | `asc` ou `desc`.                                                                               |\n| `sortBy`           | `CartTemplateSortByField` | Não         | `CREATED_AT`               | `TITLE`, `CREATED_AT`, `EXPIRATION_DATE`, `STATUS`.                                            |\n\n#### Campos de `filters` (`CartTemplateFilterInput`)\n\n| Nome             | Tipo                   | Descrição                                                                                             |\n| ---------------- | ---------------------- | ----------------------------------------------------------------------------------------------------- |\n| `title`          | `String`               | Filtro por título, contendo o texto (case-insensitive).                                               |\n| `textQuery`      | `String`               | Busca livre que casa contra `title` **ou** `referenceId` (case-insensitive).                          |\n| `status`         | `[CartTemplateStatus]` | Restringe a uma ou mais das opções `ACTIVE`, `PAUSED`.                                                |\n| `isSoldOut`      | `Boolean`              | Filtra pelo valor calculado de `isSoldOut` (ver folder para como é calculado).                        |\n| `isExpired`      | `Boolean`              | Filtra pelo valor calculado de `isExpired`.                                                           |\n| `createdAt`      | `DateFilterInput`      | `{ gte, lte }` em `AWSDateTime`, ambos opcionais.                                                     |\n| `expirationDate` | `DateFilterInput`      | Mesma forma de `createdAt`, aplicada à data de expiração configurada em `constraints.expirationDate`. |\n\nDiferente de `paymentLinks`, este filtro **não** tem `fulfillmentTypes`.\n\n### Retorno\n\n`CartTemplateConnection!`:\n\n| Propriedade  | Tipo                 | Descrição                                                                                        |\n| ------------ | -------------------- | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[CartTemplate]`     | Lista de templates — mesma forma retornada por `cartTemplate`.                                   |\n| `edges`      | `[CartTemplateEdge]` | `{ cursor, node }`, para clientes que paginam via cursor por edge em vez de `nodes` diretamente. |\n| `pageInfo`   | `PageInfo!`          | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                                    |\n| `totalCount` | `Int!`               | Total de templates que casam com os filtros, ignorando paginação.                                |\n\n### Erros\n\n| Código         | Condição                                                                                       | O que fazer                                                                   |\n| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| _(sem código)_ | `first` e `last` enviados juntos.                                                              | Envie apenas um dos dois.                                                     |\n| _(sem código)_ | `first`/`last` fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado. | Corrija o valor conforme a tabela de argumentos; verifique `message` do erro. |\n| _(sem código)_ | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação de argumentos não carregam um `extensions.code` estável — confira sempre `message`.\n\n### Notas\n\n- **`totalAmount` de cada item é recalculado do preço atual do catálogo**, não congelado no momento da criação do template (diferente de `paymentLinks`). Ver a página do folder **Carrinhos** para o detalhe completo dessa diferença.\n- Itens cujo produto/variante não existe mais no catálogo são omitidos silenciosamente de `items[]` em cada template retornado.\n- Sem `first`/`last`, o tamanho de página padrão é 20."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"e4e421df-f343-54b7-8f80-2ba9eae3fc8e"},{"name":"[Query] paymentLink","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns paymentLink data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"paymentLink\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"paymentLink returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.paymentLink;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"referenceId\");","        if (data.referenceId !== undefined && data.referenceId !== null) {","            pm.expect(typeof data.referenceId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"type\");","        if (data.type !== undefined && data.type !== null) {","            pm.expect(typeof data.type).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"shopId\");","        if (data.shopId !== undefined && data.shopId !== null) {","            pm.expect(typeof data.shopId).to.equal(\"string\");","        }","        if (data.externalId !== undefined && data.externalId !== null) {","            pm.expect(typeof data.externalId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.updatedAt !== undefined && data.updatedAt !== null) {","            pm.expect(typeof data.updatedAt).to.equal(\"string\");","        }","        if (data.updatedAt) {","            pm.expect(new Date(data.updatedAt).toString()).to.not.equal(\"Invalid Date\");","        }","        pm.expect(data).to.have.property(\"title\");","        if (data.title !== undefined && data.title !== null) {","            pm.expect(typeof data.title).to.equal(\"string\");","        }","        if (data.createdBy !== undefined && data.createdBy !== null) {","            pm.expect(typeof data.createdBy).to.equal(\"string\");","        }","        if (data.updatedBy !== undefined && data.updatedBy !== null) {","            pm.expect(typeof data.updatedBy).to.equal(\"string\");","        }","    }","});"]}}],"id":"bd7b6e54-504a-58cf-9af5-08300fac3afd","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLink($paymentLinkId: ID!) {\n  paymentLink(paymentLinkId: $paymentLinkId) {\n    _id\n    referenceId\n    type\n    shopId\n    externalId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    constraints {\n      buyerTypes\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    description\n    items {\n      _id\n      images {\n        url\n        altText\n      }\n      parcel {\n        weight\n        height\n        width\n        length\n      }\n      title\n      description\n      quantity\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      subtotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productERPCode\n      variantERPCode\n    }\n    ordersCount\n    metadata {\n      orderTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderSummary {\n        type\n        description\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      successCallbackURL\n      customerData {\n        firstName {\n          value\n          editable\n        }\n        lastName {\n          value\n          editable\n        }\n        address1 {\n          value\n          editable\n        }\n        address2 {\n          value\n          editable\n        }\n        number {\n          value\n          editable\n        }\n        neighborhood {\n          value\n          editable\n        }\n        city {\n          value\n          editable\n        }\n        region {\n          value\n          editable\n        }\n        postal {\n          value\n          editable\n        }\n        phone {\n          value\n          editable\n        }\n        taxPayerId {\n          value\n          editable\n        }\n        email {\n          value\n          editable\n        }\n      }\n      discount {\n        discountId\n        code\n        method\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shopSales {\n        discountId\n        discountCalculationMethod\n        label\n        description\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderTotalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"paymentLinkId\": \"https://exemplo.com\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"paymentlink\">paymentLink</h2>\n<p><strong>Propósito:</strong> Retorna um único link de pagamento pelo <code>_id</code>.\n<strong>Quando usar:</strong> Para consultar o status e os detalhes de um link específico que você já criou (por exemplo, o link retornado por <code>createExternalCheckout</code>) — use quando você já tem o <code>_id</code>/<code>referenceId</code> do link. Para buscar por outros critérios (status, período, texto livre), use <code>paymentLinks</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>paymentLinkId</code></td>\n<td>ID!</td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do link de pagamento a ser buscado.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>PaymentLink</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador do link.</td>\n</tr>\n<tr>\n<td><code>referenceId</code></td>\n<td><code>String!</code></td>\n<td>Identificador legível, único por loja.</td>\n</tr>\n<tr>\n<td><code>externalId</code></td>\n<td><code>String</code></td>\n<td>O <code>externalId</code> que você enviou ao criar o link (quando aplicável), para correlação com seu sistema.</td>\n</tr>\n<tr>\n<td><code>title</code> / <code>description</code></td>\n<td><code>String!</code> / <code>String</code></td>\n<td>Título e descrição do link.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>CartTemplateStatus!</code></td>\n<td><code>ACTIVE</code> ou <code>PAUSED</code>.</td>\n</tr>\n<tr>\n<td><code>isSoldOut</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando <code>constraints.usageLimit</code> está definido e o número de pedidos (<code>ordersCount</code>) já atingiu esse limite. Calculado a cada consulta.</td>\n</tr>\n<tr>\n<td><code>isExpired</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando a data atual passou de <code>constraints.expirationDate</code>. Calculado a cada consulta.</td>\n</tr>\n<tr>\n<td><code>totalAmount</code></td>\n<td><code>Money!</code></td>\n<td>Soma dos <code>subtotal</code> (<code>price × quantity</code>) dos <code>items</code>, <strong>gravada no momento da criação do link</strong> — não é recalculada pelo catálogo.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>[PaymentLinkItem!]!</code></td>\n<td>Itens do link. Cada item traz <code>title</code>, <code>description</code>, <code>quantity</code>, <code>price</code>, <code>subtotal</code>, <code>images</code>, <code>parcel</code>, <code>productERPCode</code>, <code>variantERPCode</code>.</td>\n</tr>\n<tr>\n<td><code>constraints</code></td>\n<td><code>PaymentLinkConstraints</code></td>\n<td><code>buyerTypes</code>, <code>usageLimit</code>, <code>expirationDate</code> configurados na criação do link.</td>\n</tr>\n<tr>\n<td><code>shipping</code></td>\n<td><code>CartTemplateShipping</code></td>\n<td><code>fulfillmentType</code>, <code>fulfillmentOptions</code>, <code>shippingValue</code> configurados no link, se houver frete.</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td><code>PaymentLinkMetadata</code></td>\n<td>Dados adicionais: <code>orderTotal</code>, <code>orderSummary</code>, <code>successCallbackURL</code>, <code>customerData</code>, <code>discount</code>, <code>shopSales</code>, <code>installmentAmount</code>, <code>orderTotalBeforeInterest</code>, <code>interest</code>.</td>\n</tr>\n<tr>\n<td><code>ordersCount</code></td>\n<td><code>Int</code></td>\n<td>Quantidade de pedidos já concluídos a partir deste link.</td>\n</tr>\n<tr>\n<td><code>paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Forma de pagamento vinculada ao link, se aplicável.</td>\n</tr>\n<tr>\n<td><code>blockPaymentMethodChange</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, o comprador não pode trocar a forma de pagamento na página de checkout.</td>\n</tr>\n<tr>\n<td><code>blockApplyDiscountCode</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, códigos de desconto não podem ser aplicados na página de checkout.</td>\n</tr>\n<tr>\n<td><code>blockApplyShopSale</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, promoções da loja não são aplicadas automaticamente na página de checkout.</td>\n</tr>\n<tr>\n<td><code>createdAt</code> / <code>updatedAt</code></td>\n<td><code>AWSDateTime!</code> / <code>AWSDateTime</code></td>\n<td>Datas de criação/atualização.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PAYMENT_LINK_NOT_FOUND_ERROR</code></td>\n<td>Não existe link de pagamento não-excluído com o <code>paymentLinkId</code> informado na sua loja.</td>\n<td>Confira se o <code>_id</code> está correto e se o link pertence à loja autenticada.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Autenticação/permissão ausente ou inválida: a mensagem começa com <code>\"Unauthorized\"</code>.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não retorna <code>null</code> quando não encontrado — lança erro.</strong> Apesar do tipo de retorno (<code>PaymentLink</code>, sem <code>!</code>) sugerir que a query poderia devolver <code>null</code> para um ID inexistente, o comportamento real é lançar <code>PAYMENT_LINK_NOT_FOUND_ERROR</code>. Trate essa consulta assumindo que \"não encontrado\" chega como item em <code>errors[]</code>, não como <code>data.paymentLink: null</code>.</li>\n<li><strong><code>totalAmount</code> é uma soma congelada dos itens do link</strong>, diferente de <code>cartTemplate</code>, onde o mesmo campo é recalculado a partir do preço atual do catálogo — não espere que <code>totalAmount</code> mude aqui se o preço do produto mudar depois.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"419d2512-d822-46e1-b1c5-41ff2ccee973","name":"200 - paymentLink","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLink($paymentLinkId: ID!) {\n  paymentLink(paymentLinkId: $paymentLinkId) {\n    _id\n    referenceId\n    type\n    shopId\n    externalId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    constraints {\n      buyerTypes\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    description\n    items {\n      _id\n      images {\n        url\n        altText\n      }\n      parcel {\n        weight\n        height\n        width\n        length\n      }\n      title\n      description\n      quantity\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      subtotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productERPCode\n      variantERPCode\n    }\n    ordersCount\n    metadata {\n      orderTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderSummary {\n        type\n        description\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      successCallbackURL\n      customerData {\n        firstName {\n          value\n          editable\n        }\n        lastName {\n          value\n          editable\n        }\n        address1 {\n          value\n          editable\n        }\n        address2 {\n          value\n          editable\n        }\n        number {\n          value\n          editable\n        }\n        neighborhood {\n          value\n          editable\n        }\n        city {\n          value\n          editable\n        }\n        region {\n          value\n          editable\n        }\n        postal {\n          value\n          editable\n        }\n        phone {\n          value\n          editable\n        }\n        taxPayerId {\n          value\n          editable\n        }\n        email {\n          value\n          editable\n        }\n      }\n      discount {\n        discountId\n        code\n        method\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shopSales {\n        discountId\n        discountCalculationMethod\n        label\n        description\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderTotalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"paymentLinkId\": \"https://exemplo.com\"\n}"}},"url":"{{base_url}}","description":"## paymentLink\n\n**Propósito:** Retorna um único link de pagamento pelo `_id`.\n**Quando usar:** Para consultar o status e os detalhes de um link específico que você já criou (por exemplo, o link retornado por `createExternalCheckout`) — use quando você já tem o `_id`/`referenceId` do link. Para buscar por outros critérios (status, período, texto livre), use `paymentLinks`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome            | Tipo | Obrigatório | Default | Descrição                                 |\n| --------------- | ---- | ----------- | ------- | ----------------------------------------- |\n| `paymentLinkId` | ID!  | Sim         | —       | `_id` do link de pagamento a ser buscado. |\n\n### Retorno\n\n`PaymentLink`:\n\n| Propriedade                | Tipo                           | Descrição                                                                                                                                                                   |\n| -------------------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                      | `ID!`                          | Identificador do link.                                                                                                                                                      |\n| `referenceId`              | `String!`                      | Identificador legível, único por loja.                                                                                                                                      |\n| `externalId`               | `String`                       | O `externalId` que você enviou ao criar o link (quando aplicável), para correlação com seu sistema.                                                                         |\n| `title` / `description`    | `String!` / `String`           | Título e descrição do link.                                                                                                                                                 |\n| `status`                   | `CartTemplateStatus!`          | `ACTIVE` ou `PAUSED`.                                                                                                                                                       |\n| `isSoldOut`                | `Boolean!`                     | `true` quando `constraints.usageLimit` está definido e o número de pedidos (`ordersCount`) já atingiu esse limite. Calculado a cada consulta.                               |\n| `isExpired`                | `Boolean!`                     | `true` quando a data atual passou de `constraints.expirationDate`. Calculado a cada consulta.                                                                               |\n| `totalAmount`              | `Money!`                       | Soma dos `subtotal` (`price × quantity`) dos `items`, **gravada no momento da criação do link** — não é recalculada pelo catálogo.                                          |\n| `items`                    | `[PaymentLinkItem!]!`          | Itens do link. Cada item traz `title`, `description`, `quantity`, `price`, `subtotal`, `images`, `parcel`, `productERPCode`, `variantERPCode`.                              |\n| `constraints`              | `PaymentLinkConstraints`       | `buyerTypes`, `usageLimit`, `expirationDate` configurados na criação do link.                                                                                               |\n| `shipping`                 | `CartTemplateShipping`         | `fulfillmentType`, `fulfillmentOptions`, `shippingValue` configurados no link, se houver frete.                                                                             |\n| `metadata`                 | `PaymentLinkMetadata`          | Dados adicionais: `orderTotal`, `orderSummary`, `successCallbackURL`, `customerData`, `discount`, `shopSales`, `installmentAmount`, `orderTotalBeforeInterest`, `interest`. |\n| `ordersCount`              | `Int`                          | Quantidade de pedidos já concluídos a partir deste link.                                                                                                                    |\n| `paymentMethod`            | `PaymentMethodName`            | Forma de pagamento vinculada ao link, se aplicável.                                                                                                                         |\n| `blockPaymentMethodChange` | `Boolean`                      | Se `true`, o comprador não pode trocar a forma de pagamento na página de checkout.                                                                                          |\n| `blockApplyDiscountCode`   | `Boolean`                      | Se `true`, códigos de desconto não podem ser aplicados na página de checkout.                                                                                               |\n| `blockApplyShopSale`       | `Boolean`                      | Se `true`, promoções da loja não são aplicadas automaticamente na página de checkout.                                                                                       |\n| `createdAt` / `updatedAt`  | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização.                                                                                                                                               |\n\n### Erros\n\n| Código                         | Condição                                                                               | O que fazer                                                              |\n| ------------------------------ | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |\n| `PAYMENT_LINK_NOT_FOUND_ERROR` | Não existe link de pagamento não-excluído com o `paymentLinkId` informado na sua loja. | Confira se o `_id` está correto e se o link pertence à loja autenticada. |\n| _(sem código)_                 | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Não retorna `null` quando não encontrado — lança erro.** Apesar do tipo de retorno (`PaymentLink`, sem `!`) sugerir que a query poderia devolver `null` para um ID inexistente, o comportamento real é lançar `PAYMENT_LINK_NOT_FOUND_ERROR`. Trate essa consulta assumindo que \"não encontrado\" chega como item em `errors[]`, não como `data.paymentLink: null`.\n- **`totalAmount` é uma soma congelada dos itens do link**, diferente de `cartTemplate`, onde o mesmo campo é recalculado a partir do preço atual do catálogo — não espere que `totalAmount` mude aqui se o preço do produto mudar depois."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"paymentLink\": {\n      \"_id\": \"Example_ID\",\n      \"referenceId\": \"Example_String\",\n      \"type\": \"Example_String\",\n      \"shopId\": \"Example_String\",\n      \"externalId\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"title\": \"Example_String\",\n      \"createdBy\": \"Example_String\",\n      \"updatedBy\": \"Example_String\",\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"constraints\": {\n        \"buyerTypes\": [\n          \"COMPANY\"\n        ],\n        \"usageLimit\": 10,\n        \"expirationDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": \"ACTIVE\",\n      \"isSoldOut\": true,\n      \"isExpired\": true,\n      \"shipping\": {\n        \"fulfillmentType\": \"SHIPPING\"\n      },\n      \"description\": \"Example_String\",\n      \"items\": [\n        {\n          \"_id\": \"Example_String\",\n          \"title\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"quantity\": 1,\n          \"productERPCode\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\"\n        }\n      ],\n      \"ordersCount\": 10,\n      \"metadata\": {\n        \"successCallbackURL\": \"https://exemplo.com\"\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"46509df0-b934-4056-8870-dba445f0682d","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLink($paymentLinkId: ID!) {\n  paymentLink(paymentLinkId: $paymentLinkId) {\n    _id\n    referenceId\n    type\n    shopId\n    externalId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    constraints {\n      buyerTypes\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    description\n    items {\n      _id\n      images {\n        url\n        altText\n      }\n      parcel {\n        weight\n        height\n        width\n        length\n      }\n      title\n      description\n      quantity\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      subtotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productERPCode\n      variantERPCode\n    }\n    ordersCount\n    metadata {\n      orderTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderSummary {\n        type\n        description\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      successCallbackURL\n      customerData {\n        firstName {\n          value\n          editable\n        }\n        lastName {\n          value\n          editable\n        }\n        address1 {\n          value\n          editable\n        }\n        address2 {\n          value\n          editable\n        }\n        number {\n          value\n          editable\n        }\n        neighborhood {\n          value\n          editable\n        }\n        city {\n          value\n          editable\n        }\n        region {\n          value\n          editable\n        }\n        postal {\n          value\n          editable\n        }\n        phone {\n          value\n          editable\n        }\n        taxPayerId {\n          value\n          editable\n        }\n        email {\n          value\n          editable\n        }\n      }\n      discount {\n        discountId\n        code\n        method\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shopSales {\n        discountId\n        discountCalculationMethod\n        label\n        description\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderTotalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"paymentLinkId\": \"https://exemplo.com\"\n}"}},"url":"{{base_url}}","description":"## paymentLink\n\n**Propósito:** Retorna um único link de pagamento pelo `_id`.\n**Quando usar:** Para consultar o status e os detalhes de um link específico que você já criou (por exemplo, o link retornado por `createExternalCheckout`) — use quando você já tem o `_id`/`referenceId` do link. Para buscar por outros critérios (status, período, texto livre), use `paymentLinks`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome            | Tipo | Obrigatório | Default | Descrição                                 |\n| --------------- | ---- | ----------- | ------- | ----------------------------------------- |\n| `paymentLinkId` | ID!  | Sim         | —       | `_id` do link de pagamento a ser buscado. |\n\n### Retorno\n\n`PaymentLink`:\n\n| Propriedade                | Tipo                           | Descrição                                                                                                                                                                   |\n| -------------------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                      | `ID!`                          | Identificador do link.                                                                                                                                                      |\n| `referenceId`              | `String!`                      | Identificador legível, único por loja.                                                                                                                                      |\n| `externalId`               | `String`                       | O `externalId` que você enviou ao criar o link (quando aplicável), para correlação com seu sistema.                                                                         |\n| `title` / `description`    | `String!` / `String`           | Título e descrição do link.                                                                                                                                                 |\n| `status`                   | `CartTemplateStatus!`          | `ACTIVE` ou `PAUSED`.                                                                                                                                                       |\n| `isSoldOut`                | `Boolean!`                     | `true` quando `constraints.usageLimit` está definido e o número de pedidos (`ordersCount`) já atingiu esse limite. Calculado a cada consulta.                               |\n| `isExpired`                | `Boolean!`                     | `true` quando a data atual passou de `constraints.expirationDate`. Calculado a cada consulta.                                                                               |\n| `totalAmount`              | `Money!`                       | Soma dos `subtotal` (`price × quantity`) dos `items`, **gravada no momento da criação do link** — não é recalculada pelo catálogo.                                          |\n| `items`                    | `[PaymentLinkItem!]!`          | Itens do link. Cada item traz `title`, `description`, `quantity`, `price`, `subtotal`, `images`, `parcel`, `productERPCode`, `variantERPCode`.                              |\n| `constraints`              | `PaymentLinkConstraints`       | `buyerTypes`, `usageLimit`, `expirationDate` configurados na criação do link.                                                                                               |\n| `shipping`                 | `CartTemplateShipping`         | `fulfillmentType`, `fulfillmentOptions`, `shippingValue` configurados no link, se houver frete.                                                                             |\n| `metadata`                 | `PaymentLinkMetadata`          | Dados adicionais: `orderTotal`, `orderSummary`, `successCallbackURL`, `customerData`, `discount`, `shopSales`, `installmentAmount`, `orderTotalBeforeInterest`, `interest`. |\n| `ordersCount`              | `Int`                          | Quantidade de pedidos já concluídos a partir deste link.                                                                                                                    |\n| `paymentMethod`            | `PaymentMethodName`            | Forma de pagamento vinculada ao link, se aplicável.                                                                                                                         |\n| `blockPaymentMethodChange` | `Boolean`                      | Se `true`, o comprador não pode trocar a forma de pagamento na página de checkout.                                                                                          |\n| `blockApplyDiscountCode`   | `Boolean`                      | Se `true`, códigos de desconto não podem ser aplicados na página de checkout.                                                                                               |\n| `blockApplyShopSale`       | `Boolean`                      | Se `true`, promoções da loja não são aplicadas automaticamente na página de checkout.                                                                                       |\n| `createdAt` / `updatedAt`  | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização.                                                                                                                                               |\n\n### Erros\n\n| Código                         | Condição                                                                               | O que fazer                                                              |\n| ------------------------------ | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |\n| `PAYMENT_LINK_NOT_FOUND_ERROR` | Não existe link de pagamento não-excluído com o `paymentLinkId` informado na sua loja. | Confira se o `_id` está correto e se o link pertence à loja autenticada. |\n| _(sem código)_                 | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Não retorna `null` quando não encontrado — lança erro.** Apesar do tipo de retorno (`PaymentLink`, sem `!`) sugerir que a query poderia devolver `null` para um ID inexistente, o comportamento real é lançar `PAYMENT_LINK_NOT_FOUND_ERROR`. Trate essa consulta assumindo que \"não encontrado\" chega como item em `errors[]`, não como `data.paymentLink: null`.\n- **`totalAmount` é uma soma congelada dos itens do link**, diferente de `cartTemplate`, onde o mesmo campo é recalculado a partir do preço atual do catálogo — não espere que `totalAmount` mude aqui se o preço do produto mudar depois."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"b1bf244f-6a4c-4977-a9c0-afbcaa4526a3","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLink($paymentLinkId: ID!) {\n  paymentLink(paymentLinkId: $paymentLinkId) {\n    _id\n    referenceId\n    type\n    shopId\n    externalId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    constraints {\n      buyerTypes\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    description\n    items {\n      _id\n      images {\n        url\n        altText\n      }\n      parcel {\n        weight\n        height\n        width\n        length\n      }\n      title\n      description\n      quantity\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      subtotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productERPCode\n      variantERPCode\n    }\n    ordersCount\n    metadata {\n      orderTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderSummary {\n        type\n        description\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      successCallbackURL\n      customerData {\n        firstName {\n          value\n          editable\n        }\n        lastName {\n          value\n          editable\n        }\n        address1 {\n          value\n          editable\n        }\n        address2 {\n          value\n          editable\n        }\n        number {\n          value\n          editable\n        }\n        neighborhood {\n          value\n          editable\n        }\n        city {\n          value\n          editable\n        }\n        region {\n          value\n          editable\n        }\n        postal {\n          value\n          editable\n        }\n        phone {\n          value\n          editable\n        }\n        taxPayerId {\n          value\n          editable\n        }\n        email {\n          value\n          editable\n        }\n      }\n      discount {\n        discountId\n        code\n        method\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shopSales {\n        discountId\n        discountCalculationMethod\n        label\n        description\n        totalDiscount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      orderTotalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"paymentLinkId\": \"https://exemplo.com\"\n}"}},"url":"{{base_url}}","description":"## paymentLink\n\n**Propósito:** Retorna um único link de pagamento pelo `_id`.\n**Quando usar:** Para consultar o status e os detalhes de um link específico que você já criou (por exemplo, o link retornado por `createExternalCheckout`) — use quando você já tem o `_id`/`referenceId` do link. Para buscar por outros critérios (status, período, texto livre), use `paymentLinks`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome            | Tipo | Obrigatório | Default | Descrição                                 |\n| --------------- | ---- | ----------- | ------- | ----------------------------------------- |\n| `paymentLinkId` | ID!  | Sim         | —       | `_id` do link de pagamento a ser buscado. |\n\n### Retorno\n\n`PaymentLink`:\n\n| Propriedade                | Tipo                           | Descrição                                                                                                                                                                   |\n| -------------------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                      | `ID!`                          | Identificador do link.                                                                                                                                                      |\n| `referenceId`              | `String!`                      | Identificador legível, único por loja.                                                                                                                                      |\n| `externalId`               | `String`                       | O `externalId` que você enviou ao criar o link (quando aplicável), para correlação com seu sistema.                                                                         |\n| `title` / `description`    | `String!` / `String`           | Título e descrição do link.                                                                                                                                                 |\n| `status`                   | `CartTemplateStatus!`          | `ACTIVE` ou `PAUSED`.                                                                                                                                                       |\n| `isSoldOut`                | `Boolean!`                     | `true` quando `constraints.usageLimit` está definido e o número de pedidos (`ordersCount`) já atingiu esse limite. Calculado a cada consulta.                               |\n| `isExpired`                | `Boolean!`                     | `true` quando a data atual passou de `constraints.expirationDate`. Calculado a cada consulta.                                                                               |\n| `totalAmount`              | `Money!`                       | Soma dos `subtotal` (`price × quantity`) dos `items`, **gravada no momento da criação do link** — não é recalculada pelo catálogo.                                          |\n| `items`                    | `[PaymentLinkItem!]!`          | Itens do link. Cada item traz `title`, `description`, `quantity`, `price`, `subtotal`, `images`, `parcel`, `productERPCode`, `variantERPCode`.                              |\n| `constraints`              | `PaymentLinkConstraints`       | `buyerTypes`, `usageLimit`, `expirationDate` configurados na criação do link.                                                                                               |\n| `shipping`                 | `CartTemplateShipping`         | `fulfillmentType`, `fulfillmentOptions`, `shippingValue` configurados no link, se houver frete.                                                                             |\n| `metadata`                 | `PaymentLinkMetadata`          | Dados adicionais: `orderTotal`, `orderSummary`, `successCallbackURL`, `customerData`, `discount`, `shopSales`, `installmentAmount`, `orderTotalBeforeInterest`, `interest`. |\n| `ordersCount`              | `Int`                          | Quantidade de pedidos já concluídos a partir deste link.                                                                                                                    |\n| `paymentMethod`            | `PaymentMethodName`            | Forma de pagamento vinculada ao link, se aplicável.                                                                                                                         |\n| `blockPaymentMethodChange` | `Boolean`                      | Se `true`, o comprador não pode trocar a forma de pagamento na página de checkout.                                                                                          |\n| `blockApplyDiscountCode`   | `Boolean`                      | Se `true`, códigos de desconto não podem ser aplicados na página de checkout.                                                                                               |\n| `blockApplyShopSale`       | `Boolean`                      | Se `true`, promoções da loja não são aplicadas automaticamente na página de checkout.                                                                                       |\n| `createdAt` / `updatedAt`  | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização.                                                                                                                                               |\n\n### Erros\n\n| Código                         | Condição                                                                               | O que fazer                                                              |\n| ------------------------------ | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |\n| `PAYMENT_LINK_NOT_FOUND_ERROR` | Não existe link de pagamento não-excluído com o `paymentLinkId` informado na sua loja. | Confira se o `_id` está correto e se o link pertence à loja autenticada. |\n| _(sem código)_                 | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Não retorna `null` quando não encontrado — lança erro.** Apesar do tipo de retorno (`PaymentLink`, sem `!`) sugerir que a query poderia devolver `null` para um ID inexistente, o comportamento real é lançar `PAYMENT_LINK_NOT_FOUND_ERROR`. Trate essa consulta assumindo que \"não encontrado\" chega como item em `errors[]`, não como `data.paymentLink: null`.\n- **`totalAmount` é uma soma congelada dos itens do link**, diferente de `cartTemplate`, onde o mesmo campo é recalculado a partir do preço atual do catálogo — não espere que `totalAmount` mude aqui se o preço do produto mudar depois."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"bd7b6e54-504a-58cf-9af5-08300fac3afd"},{"name":"[Query] paymentLinks","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns paymentLinks data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"paymentLinks\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"paymentLinks returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.paymentLinks;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"e552f8bc-6b77-54a1-aa51-b1da1c791dbe","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLinks($filters: PaymentLinkFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: PaymentLinkSortByField) {\n  paymentLinks(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"paymentlinks\">paymentLinks</h2>\n<p><strong>Propósito:</strong> Lista os links de pagamento da sua loja, com filtros e paginação Relay.\n<strong>Quando usar:</strong> Para acompanhar links de pagamento criados (por exemplo, via <code>createExternalCheckout</code>) sem precisar guardar o <code>_id</code> de cada um — filtre por status, período de criação/expiração ou texto livre. Para buscar um único link já conhecido, use <code>paymentLink</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>PaymentLinkFilterInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Ver tabela de filtros abaixo.</td>\n</tr>\n<tr>\n<td><code>after</code> / <code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor Relay para paginação para frente/para trás.</td>\n</tr>\n<tr>\n<td><code>first</code> / <code>last</code></td>\n<td><code>Int</code> (1–50)</td>\n<td>Não</td>\n<td>20 (se nenhum for enviado)</td>\n<td>Tamanho da página. Envie <strong>apenas um</strong> dos dois — <code>first</code> com <code>after</code>, ou <code>last</code> com <code>before</code>.</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Pula os N primeiros resultados. Pode ser combinado com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td><code>asc</code> ou <code>desc</code>.</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>PaymentLinkSortByField</code></td>\n<td>Não</td>\n<td><code>CREATED_AT</code></td>\n<td><code>TITLE</code>, <code>CREATED_AT</code>, <code>EXPIRATION_DATE</code>, <code>STATUS</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-filters-paymentlinkfilterinput\">Campos de <code>filters</code> (<code>PaymentLinkFilterInput</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>title</code></td>\n<td><code>String</code></td>\n<td>Filtro por título, contendo o texto (case-insensitive).</td>\n</tr>\n<tr>\n<td><code>textQuery</code></td>\n<td><code>String</code></td>\n<td>Busca livre que casa contra <code>title</code> <strong>ou</strong> <code>referenceId</code> (case-insensitive).</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>[PaymentLinkStatus]</code></td>\n<td>Restringe a uma ou mais das opções <code>ACTIVE</code>, <code>PAUSED</code>.</td>\n</tr>\n<tr>\n<td><code>isSoldOut</code></td>\n<td><code>Boolean</code></td>\n<td>Filtra pelo valor calculado de <code>isSoldOut</code> (ver folder para como é calculado).</td>\n</tr>\n<tr>\n<td><code>isExpired</code></td>\n<td><code>Boolean</code></td>\n<td>Filtra pelo valor calculado de <code>isExpired</code>.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>DateFilterInput</code></td>\n<td><code>{ gte, lte }</code> em <code>AWSDateTime</code>, ambos opcionais.</td>\n</tr>\n<tr>\n<td><code>expirationDate</code></td>\n<td><code>DateFilterInput</code></td>\n<td>Mesma forma de <code>createdAt</code>, aplicada à data de expiração configurada em <code>constraints.expirationDate</code>.</td>\n</tr>\n<tr>\n<td><code>fulfillmentTypes</code></td>\n<td><code>[FulfillmentType]</code></td>\n<td>Restringe pelo tipo de frete configurado (<code>SHIPPING</code>, <code>NONE</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>PaymentLinkConnection!</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[PaymentLink]</code></td>\n<td>Lista de links de pagamento — mesma forma retornada por <code>paymentLink</code>.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[PaymentLinkEdge]</code></td>\n<td><code>{ cursor, node }</code>, para clientes que paginam via cursor por edge em vez de <code>nodes</code> diretamente.</td>\n</tr>\n<tr>\n<td><code>pageInfo</code></td>\n<td><code>PageInfo!</code></td>\n<td><code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de links que casam com os filtros, ignorando paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code> e <code>last</code> enviados juntos.</td>\n<td>Envie apenas um dos dois.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code>/<code>last</code> fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado.</td>\n<td>Corrija o valor conforme a tabela de argumentos; verifique <code>message</code> do erro.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Autenticação/permissão ausente ou inválida: a mensagem começa com <code>\"Unauthorized\"</code>.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Erros de validação de argumentos não carregam um <code>extensions.code</code> estável — confira sempre <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sem filtro de <code>externalId</code>.</strong> Se você precisa localizar o link criado para um pedido específico do seu sistema, use <code>textQuery</code>/<code>title</code> ou guarde o <code>_id</code>/<code>referenceId</code> retornado na criação — o filtro não expõe <code>externalId</code>.</li>\n<li><strong><code>totalAmount</code> de cada item é a soma congelada dos subtotais gravados na criação do link</strong>, não um valor recalculado do catálogo (diferente de <code>cartTemplates</code>).</li>\n<li>Sem <code>first</code>/<code>last</code>, o tamanho de página padrão é 20 (ver a página do folder <strong>Carrinhos</strong> para os detalhes de paginação Relay compartilhados com <code>cartTemplates</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"161f4563-02e8-4af1-9a9e-b7a5c95a4a84","name":"200 - paymentLinks","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLinks($filters: PaymentLinkFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: PaymentLinkSortByField) {\n  paymentLinks(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"## paymentLinks\n\n**Propósito:** Lista os links de pagamento da sua loja, com filtros e paginação Relay.\n**Quando usar:** Para acompanhar links de pagamento criados (por exemplo, via `createExternalCheckout`) sem precisar guardar o `_id` de cada um — filtre por status, período de criação/expiração ou texto livre. Para buscar um único link já conhecido, use `paymentLink`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome               | Tipo                     | Obrigatório | Default                    | Descrição                                                                                      |\n| ------------------ | ------------------------ | ----------- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| `filters`          | `PaymentLinkFilterInput` | Não         | —                          | Ver tabela de filtros abaixo.                                                                  |\n| `after` / `before` | `String`                 | Não         | —                          | Cursor Relay para paginação para frente/para trás.                                             |\n| `first` / `last`   | `Int` (1–50)             | Não         | 20 (se nenhum for enviado) | Tamanho da página. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. |\n| `offset`           | `Int`                    | Não         | —                          | Pula os N primeiros resultados. Pode ser combinado com `first`.                                |\n| `sortOrder`        | `SortOrder`              | Não         | `desc`                     | `asc` ou `desc`.                                                                               |\n| `sortBy`           | `PaymentLinkSortByField` | Não         | `CREATED_AT`               | `TITLE`, `CREATED_AT`, `EXPIRATION_DATE`, `STATUS`.                                            |\n\n#### Campos de `filters` (`PaymentLinkFilterInput`)\n\n| Nome               | Tipo                  | Descrição                                                                                             |\n| ------------------ | --------------------- | ----------------------------------------------------------------------------------------------------- |\n| `title`            | `String`              | Filtro por título, contendo o texto (case-insensitive).                                               |\n| `textQuery`        | `String`              | Busca livre que casa contra `title` **ou** `referenceId` (case-insensitive).                          |\n| `status`           | `[PaymentLinkStatus]` | Restringe a uma ou mais das opções `ACTIVE`, `PAUSED`.                                                |\n| `isSoldOut`        | `Boolean`             | Filtra pelo valor calculado de `isSoldOut` (ver folder para como é calculado).                        |\n| `isExpired`        | `Boolean`             | Filtra pelo valor calculado de `isExpired`.                                                           |\n| `createdAt`        | `DateFilterInput`     | `{ gte, lte }` em `AWSDateTime`, ambos opcionais.                                                     |\n| `expirationDate`   | `DateFilterInput`     | Mesma forma de `createdAt`, aplicada à data de expiração configurada em `constraints.expirationDate`. |\n| `fulfillmentTypes` | `[FulfillmentType]`   | Restringe pelo tipo de frete configurado (`SHIPPING`, `NONE`).                                        |\n\n### Retorno\n\n`PaymentLinkConnection!`:\n\n| Propriedade  | Tipo                | Descrição                                                                                        |\n| ------------ | ------------------- | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[PaymentLink]`     | Lista de links de pagamento — mesma forma retornada por `paymentLink`.                           |\n| `edges`      | `[PaymentLinkEdge]` | `{ cursor, node }`, para clientes que paginam via cursor por edge em vez de `nodes` diretamente. |\n| `pageInfo`   | `PageInfo!`         | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                                    |\n| `totalCount` | `Int!`              | Total de links que casam com os filtros, ignorando paginação.                                    |\n\n### Erros\n\n| Código         | Condição                                                                                       | O que fazer                                                                   |\n| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| _(sem código)_ | `first` e `last` enviados juntos.                                                              | Envie apenas um dos dois.                                                     |\n| _(sem código)_ | `first`/`last` fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado. | Corrija o valor conforme a tabela de argumentos; verifique `message` do erro. |\n| _(sem código)_ | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação de argumentos não carregam um `extensions.code` estável — confira sempre `message`.\n\n### Notas\n\n- **Sem filtro de `externalId`.** Se você precisa localizar o link criado para um pedido específico do seu sistema, use `textQuery`/`title` ou guarde o `_id`/`referenceId` retornado na criação — o filtro não expõe `externalId`.\n- **`totalAmount` de cada item é a soma congelada dos subtotais gravados na criação do link**, não um valor recalculado do catálogo (diferente de `cartTemplates`).\n- Sem `first`/`last`, o tamanho de página padrão é 20 (ver a página do folder **Carrinhos** para os detalhes de paginação Relay compartilhados com `cartTemplates`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"paymentLinks\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"referenceId\": \"Example_String\",\n          \"type\": \"Example_String\",\n          \"shopId\": \"Example_String\",\n          \"externalId\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"title\": \"Example_String\",\n          \"createdBy\": \"Example_String\",\n          \"updatedBy\": \"Example_String\",\n          \"status\": \"ACTIVE\",\n          \"isSoldOut\": true,\n          \"isExpired\": true,\n          \"description\": \"Example_String\",\n          \"ordersCount\": 10,\n          \"blockPaymentMethodChange\": true,\n          \"blockApplyDiscountCode\": true,\n          \"blockApplyShopSale\": true\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"6d2b216c-5e61-4301-92a6-3ee73bcf8166","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLinks($filters: PaymentLinkFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: PaymentLinkSortByField) {\n  paymentLinks(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"## paymentLinks\n\n**Propósito:** Lista os links de pagamento da sua loja, com filtros e paginação Relay.\n**Quando usar:** Para acompanhar links de pagamento criados (por exemplo, via `createExternalCheckout`) sem precisar guardar o `_id` de cada um — filtre por status, período de criação/expiração ou texto livre. Para buscar um único link já conhecido, use `paymentLink`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome               | Tipo                     | Obrigatório | Default                    | Descrição                                                                                      |\n| ------------------ | ------------------------ | ----------- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| `filters`          | `PaymentLinkFilterInput` | Não         | —                          | Ver tabela de filtros abaixo.                                                                  |\n| `after` / `before` | `String`                 | Não         | —                          | Cursor Relay para paginação para frente/para trás.                                             |\n| `first` / `last`   | `Int` (1–50)             | Não         | 20 (se nenhum for enviado) | Tamanho da página. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. |\n| `offset`           | `Int`                    | Não         | —                          | Pula os N primeiros resultados. Pode ser combinado com `first`.                                |\n| `sortOrder`        | `SortOrder`              | Não         | `desc`                     | `asc` ou `desc`.                                                                               |\n| `sortBy`           | `PaymentLinkSortByField` | Não         | `CREATED_AT`               | `TITLE`, `CREATED_AT`, `EXPIRATION_DATE`, `STATUS`.                                            |\n\n#### Campos de `filters` (`PaymentLinkFilterInput`)\n\n| Nome               | Tipo                  | Descrição                                                                                             |\n| ------------------ | --------------------- | ----------------------------------------------------------------------------------------------------- |\n| `title`            | `String`              | Filtro por título, contendo o texto (case-insensitive).                                               |\n| `textQuery`        | `String`              | Busca livre que casa contra `title` **ou** `referenceId` (case-insensitive).                          |\n| `status`           | `[PaymentLinkStatus]` | Restringe a uma ou mais das opções `ACTIVE`, `PAUSED`.                                                |\n| `isSoldOut`        | `Boolean`             | Filtra pelo valor calculado de `isSoldOut` (ver folder para como é calculado).                        |\n| `isExpired`        | `Boolean`             | Filtra pelo valor calculado de `isExpired`.                                                           |\n| `createdAt`        | `DateFilterInput`     | `{ gte, lte }` em `AWSDateTime`, ambos opcionais.                                                     |\n| `expirationDate`   | `DateFilterInput`     | Mesma forma de `createdAt`, aplicada à data de expiração configurada em `constraints.expirationDate`. |\n| `fulfillmentTypes` | `[FulfillmentType]`   | Restringe pelo tipo de frete configurado (`SHIPPING`, `NONE`).                                        |\n\n### Retorno\n\n`PaymentLinkConnection!`:\n\n| Propriedade  | Tipo                | Descrição                                                                                        |\n| ------------ | ------------------- | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[PaymentLink]`     | Lista de links de pagamento — mesma forma retornada por `paymentLink`.                           |\n| `edges`      | `[PaymentLinkEdge]` | `{ cursor, node }`, para clientes que paginam via cursor por edge em vez de `nodes` diretamente. |\n| `pageInfo`   | `PageInfo!`         | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                                    |\n| `totalCount` | `Int!`              | Total de links que casam com os filtros, ignorando paginação.                                    |\n\n### Erros\n\n| Código         | Condição                                                                                       | O que fazer                                                                   |\n| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| _(sem código)_ | `first` e `last` enviados juntos.                                                              | Envie apenas um dos dois.                                                     |\n| _(sem código)_ | `first`/`last` fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado. | Corrija o valor conforme a tabela de argumentos; verifique `message` do erro. |\n| _(sem código)_ | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação de argumentos não carregam um `extensions.code` estável — confira sempre `message`.\n\n### Notas\n\n- **Sem filtro de `externalId`.** Se você precisa localizar o link criado para um pedido específico do seu sistema, use `textQuery`/`title` ou guarde o `_id`/`referenceId` retornado na criação — o filtro não expõe `externalId`.\n- **`totalAmount` de cada item é a soma congelada dos subtotais gravados na criação do link**, não um valor recalculado do catálogo (diferente de `cartTemplates`).\n- Sem `first`/`last`, o tamanho de página padrão é 20 (ver a página do folder **Carrinhos** para os detalhes de paginação Relay compartilhados com `cartTemplates`)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"21e774d0-e105-4992-917c-5531ca53b88c","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PaymentLinks($filters: PaymentLinkFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: PaymentLinkSortByField) {\n  paymentLinks(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"title\": \"Example_String\",\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"isSoldOut\": true,\n    \"isExpired\": true,\n    \"expirationDate\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"textQuery\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"TITLE\"\n}"}},"url":"{{base_url}}","description":"## paymentLinks\n\n**Propósito:** Lista os links de pagamento da sua loja, com filtros e paginação Relay.\n**Quando usar:** Para acompanhar links de pagamento criados (por exemplo, via `createExternalCheckout`) sem precisar guardar o `_id` de cada um — filtre por status, período de criação/expiração ou texto livre. Para buscar um único link já conhecido, use `paymentLink`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\n| Nome               | Tipo                     | Obrigatório | Default                    | Descrição                                                                                      |\n| ------------------ | ------------------------ | ----------- | -------------------------- | ---------------------------------------------------------------------------------------------- |\n| `filters`          | `PaymentLinkFilterInput` | Não         | —                          | Ver tabela de filtros abaixo.                                                                  |\n| `after` / `before` | `String`                 | Não         | —                          | Cursor Relay para paginação para frente/para trás.                                             |\n| `first` / `last`   | `Int` (1–50)             | Não         | 20 (se nenhum for enviado) | Tamanho da página. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. |\n| `offset`           | `Int`                    | Não         | —                          | Pula os N primeiros resultados. Pode ser combinado com `first`.                                |\n| `sortOrder`        | `SortOrder`              | Não         | `desc`                     | `asc` ou `desc`.                                                                               |\n| `sortBy`           | `PaymentLinkSortByField` | Não         | `CREATED_AT`               | `TITLE`, `CREATED_AT`, `EXPIRATION_DATE`, `STATUS`.                                            |\n\n#### Campos de `filters` (`PaymentLinkFilterInput`)\n\n| Nome               | Tipo                  | Descrição                                                                                             |\n| ------------------ | --------------------- | ----------------------------------------------------------------------------------------------------- |\n| `title`            | `String`              | Filtro por título, contendo o texto (case-insensitive).                                               |\n| `textQuery`        | `String`              | Busca livre que casa contra `title` **ou** `referenceId` (case-insensitive).                          |\n| `status`           | `[PaymentLinkStatus]` | Restringe a uma ou mais das opções `ACTIVE`, `PAUSED`.                                                |\n| `isSoldOut`        | `Boolean`             | Filtra pelo valor calculado de `isSoldOut` (ver folder para como é calculado).                        |\n| `isExpired`        | `Boolean`             | Filtra pelo valor calculado de `isExpired`.                                                           |\n| `createdAt`        | `DateFilterInput`     | `{ gte, lte }` em `AWSDateTime`, ambos opcionais.                                                     |\n| `expirationDate`   | `DateFilterInput`     | Mesma forma de `createdAt`, aplicada à data de expiração configurada em `constraints.expirationDate`. |\n| `fulfillmentTypes` | `[FulfillmentType]`   | Restringe pelo tipo de frete configurado (`SHIPPING`, `NONE`).                                        |\n\n### Retorno\n\n`PaymentLinkConnection!`:\n\n| Propriedade  | Tipo                | Descrição                                                                                        |\n| ------------ | ------------------- | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[PaymentLink]`     | Lista de links de pagamento — mesma forma retornada por `paymentLink`.                           |\n| `edges`      | `[PaymentLinkEdge]` | `{ cursor, node }`, para clientes que paginam via cursor por edge em vez de `nodes` diretamente. |\n| `pageInfo`   | `PageInfo!`         | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                                    |\n| `totalCount` | `Int!`              | Total de links que casam com os filtros, ignorando paginação.                                    |\n\n### Erros\n\n| Código         | Condição                                                                                       | O que fazer                                                                   |\n| -------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| _(sem código)_ | `first` e `last` enviados juntos.                                                              | Envie apenas um dos dois.                                                     |\n| _(sem código)_ | `first`/`last` fora do intervalo de 1 a 50, ou outro campo de filtro fora do formato esperado. | Corrija o valor conforme a tabela de argumentos; verifique `message` do erro. |\n| _(sem código)_ | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação de argumentos não carregam um `extensions.code` estável — confira sempre `message`.\n\n### Notas\n\n- **Sem filtro de `externalId`.** Se você precisa localizar o link criado para um pedido específico do seu sistema, use `textQuery`/`title` ou guarde o `_id`/`referenceId` retornado na criação — o filtro não expõe `externalId`.\n- **`totalAmount` de cada item é a soma congelada dos subtotais gravados na criação do link**, não um valor recalculado do catálogo (diferente de `cartTemplates`).\n- Sem `first`/`last`, o tamanho de página padrão é 20 (ver a página do folder **Carrinhos** para os detalhes de paginação Relay compartilhados com `cartTemplates`)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"e552f8bc-6b77-54a1-aa51-b1da1c791dbe"}],"id":"e017b0a8-abcd-46fb-91c2-95304100e916","_postman_id":"e017b0a8-abcd-46fb-91c2-95304100e916","description":""},{"name":"Mutation","item":[{"name":"[Mutation] createCartByTemplate","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns createCartByTemplate data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createCartByTemplate\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"7cf9ebd7-4d3a-5a08-95a1-26935202df15","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartByTemplate($input: CreateCartByTemplateInput!) {\n  createCartByTemplate(input: $input) {\n    cart {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      checkout {\n        fulfillmentGroups {\n          _id\n          availableFulfillmentOptions {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          data {\n            shippingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n          }\n          items {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isVisible\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            recurrenceAllowed\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            minOrderQuantity\n            maxOrderQuantity\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          type\n        }\n        summary {\n          discountSummary {\n            itemsRecurrenceDiscount {\n              amount\n              displayAmount\n            }\n            compareAtPriceDiscount {\n              amount\n              displayAmount\n            }\n            totalDiscountCodeAmount {\n              amount\n              displayAmount\n            }\n            fromKitItemDiscount {\n              amount\n              displayAmount\n            }\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          recurrenceItemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      createdAt\n      email\n      expiresAt\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isVisible\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          recurrenceAllowed\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          minOrderQuantity\n          maxOrderQuantity\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      missingItems {\n        _id\n        addedAt\n        attributes {\n          label\n          value\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        createdAt\n        imageURLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        isRecurring\n        isVisible\n        isDiscountedBonusItem\n        discountedBonusItemSource {\n          discountMethod\n          discountCalculationMethod\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        optionTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        kitItemConfigurations {\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        productSlug\n        recurrenceAllowed\n        productTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        productType\n        productVendor\n        quantity\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        title\n        updatedAt\n        variantTitle\n        minOrderQuantity\n        maxOrderQuantity\n        inventoryAvailableToSell\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        isTaxable\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxCode\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        thumbnail\n      }\n      referenceId\n      recurringItemsFrequencyId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      totalItemQuantity\n      billing {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      constraints {\n        shipping {\n          fulfillmentType\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          fulfillmentOptionModifier {\n            _id\n            name\n            label\n            description\n            classification\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n            }\n            additionalDaysToDeliver\n            createdAt\n            updatedAt\n            ordersCount\n            daysRemaining\n          }\n        }\n      }\n      updatedAt\n      paymentMethod\n      blockPaymentMethodChange\n      numberOfInstallments\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    clientMutationId\n    incorrectPriceFailures {\n      currentPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      providedPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    minOrderQuantityFailures {\n      minOrderQuantity\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      quantity\n    }\n    maxOrderQuantityFailures {\n      maxOrderQuantity\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      quantity\n    }\n    token\n    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"shopId\": \"{{shopId}}\",\n    \"cartTemplateId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"createcartbytemplate\">createCartByTemplate</h2>\n<p><strong>Propósito:</strong> Cria um carrinho novo a partir de um template de carrinho existente, copiando seus itens, frete e desconto configurados.\n<strong>Quando usar:</strong> Depois de escolher um template (via <code>cartTemplate</code>/<code>cartTemplates</code>) que represente a compra desejada. O carrinho criado é anônimo (não fica vinculado à sua conta) — guarde o <code>token</code> retornado, pois ele é a única forma de referenciar esse carrinho depois em <code>updateCart</code>. <strong>Não é idempotente</strong>: cada chamada bem-sucedida cria um carrinho novo, mesmo enviando o mesmo <code>cartTemplateId</code> — chamar duas vezes gera dois carrinhos distintos. Se sua chamada falhar por timeout de rede antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim; reenviar cegamente pode duplicar. A API não expõe uma forma de listar carrinhos por <code>cartTemplateId</code>, então o controle de reenvio precisa ficar do seu lado.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Mesmo esta operação não exigindo permissão específica internamente, envie sempre um <code>Authorization</code> válido — sem ele o carrinho é criado sem vínculo de conta.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: CreateCartByTemplateInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.shopId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID da sua loja. Diferente de outras operações desta API, aqui o <code>shopId</code> <strong>não</strong> é derivado do token — envie-o explicitamente.</td>\n</tr>\n<tr>\n<td><code>input.cartTemplateId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do template de carrinho a ser usado (ver <code>cartTemplate</code>/<code>cartTemplates</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CreateCartPayload!</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cart</code></td>\n<td><code>Cart</code></td>\n<td>O carrinho recém-criado. <code>null</code> se nenhum item do template pôde ser adicionado (ver <code>minOrderQuantityFailures</code>/<code>maxOrderQuantityFailures</code>).</td>\n</tr>\n<tr>\n<td><code>token</code></td>\n<td><code>String</code></td>\n<td>Token de acesso ao carrinho anônimo recém-criado. <strong>É retornado apenas nesta chamada</strong> — armazene-o com segurança, você precisará dele em <code>updateCart</code> (<code>cartToken</code>).</td>\n</tr>\n<tr>\n<td><code>incorrectPriceFailures</code></td>\n<td><code>[IncorrectPriceFailureDetails]!</code></td>\n<td>Sempre vazio nesta operação: o preço é herdado do template, e a checagem de preço enviado pelo parceiro não se aplica aqui.</td>\n</tr>\n<tr>\n<td><code>minOrderQuantityFailures</code></td>\n<td><code>[MinOrderQuantityFailureDetails]!</code></td>\n<td>Itens do template cuja quantidade configurada ficou abaixo do mínimo atual de pedido do produto/variante.</td>\n</tr>\n<tr>\n<td><code>maxOrderQuantityFailures</code></td>\n<td><code>[MaxOrderQuantityFailureDetails]!</code></td>\n<td>Itens do template cuja quantidade configurada ficou acima do máximo atual de pedido do produto/variante.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Eventos relevantes ocorridos como efeito colateral (ex.: desconto do template removido por não ser mais válido).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CART_TEMPLATE_NOT_FOUND_ERROR</code></td>\n<td>Não existe template não-excluído com o <code>cartTemplateId</code> informado, na loja informada por <code>shopId</code>.</td>\n<td>Confira <code>cartTemplateId</code> e <code>shopId</code>; use <code>cartTemplate</code>/<code>cartTemplates</code> para localizar o template correto.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATE_PAUSED_ERROR</code></td>\n<td>O template está com <code>status: PAUSED</code>.</td>\n<td>Reative o template (<code>updateCartTemplate</code>) antes de usá-lo, ou escolha outro.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATE_IS_EXPIRED_ERROR</code></td>\n<td>A data atual passou de <code>constraints.expirationDate</code> do template.</td>\n<td>Escolha um template não expirado, ou peça para configurarem uma nova data de expiração.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATE_IS_SOLD_OUT_ERROR</code></td>\n<td><code>constraints.usageLimit</code> do template já foi atingido pelo número de carrinhos/pedidos gerados.</td>\n<td>Escolha outro template, ou peça para aumentarem/removerem o limite.</td>\n</tr>\n<tr>\n<td><code>ALL_ITEMS_OUT_OF_STOCK_ERROR</code></td>\n<td>Nenhum item do template tem estoque disponível no momento.</td>\n<td>Verifique o estoque dos produtos do template (<code>simpleInventory</code>) antes de tentar novamente.</td>\n</tr>\n<tr>\n<td><code>UNABLE_TO_SAVE_CART_ERROR</code></td>\n<td>Falha ao persistir o carrinho (erro interno).</td>\n<td>Tente novamente; se persistir, contate seu representante Unbox.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Campos obrigatórios ausentes (<code>shopId</code>, <code>cartTemplateId</code>) retornam um erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável — verifique sempre <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não é idempotente.</strong> Repetir a chamada com o mesmo <code>cartTemplateId</code> cria um novo carrinho a cada vez (não há deduplicação por template ou por qualquer outro campo do input).</li>\n<li><strong>O carrinho criado é anônimo.</strong> Ele não fica automaticamente vinculado à sua conta autenticada — o acesso a ele depois é feito pelo par <code>cartId</code>/<code>cartToken</code> retornado nesta chamada, não pelo <code>Authorization</code>.</li>\n<li><strong><code>token</code> só é retornado nesta chamada.</strong> Se você perdê-lo, não há como recuperá-lo depois — trate-o como o <code>cartToken</code> necessário para toda operação futura sobre esse carrinho.</li>\n<li>Descontos configurados no template (<code>discount.code</code>) são reaplicados automaticamente ao carrinho recém-criado, se ainda válidos.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"665dc3dd-d8bf-4fa6-a1f9-64ff31b13605","name":"200 - createCartByTemplate","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartByTemplate($input: CreateCartByTemplateInput!) {\n  createCartByTemplate(input: $input) {\n    cart {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      checkout {\n        fulfillmentGroups {\n          _id\n          availableFulfillmentOptions {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          data {\n            shippingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n          }\n          items {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isVisible\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            recurrenceAllowed\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            minOrderQuantity\n            maxOrderQuantity\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          type\n        }\n        summary {\n          discountSummary {\n            itemsRecurrenceDiscount {\n              amount\n              displayAmount\n            }\n            compareAtPriceDiscount {\n              amount\n              displayAmount\n            }\n            totalDiscountCodeAmount {\n              amount\n              displayAmount\n            }\n            fromKitItemDiscount {\n              amount\n              displayAmount\n            }\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          recurrenceItemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      createdAt\n      email\n      expiresAt\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isVisible\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          recurrenceAllowed\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          minOrderQuantity\n          maxOrderQuantity\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      missingItems {\n        _id\n        addedAt\n        attributes {\n          label\n          value\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        createdAt\n        imageURLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        isRecurring\n        isVisible\n        isDiscountedBonusItem\n        discountedBonusItemSource {\n          discountMethod\n          discountCalculationMethod\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        optionTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        kitItemConfigurations {\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        productSlug\n        recurrenceAllowed\n        productTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        productType\n        productVendor\n        quantity\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        title\n        updatedAt\n        variantTitle\n        minOrderQuantity\n        maxOrderQuantity\n        inventoryAvailableToSell\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        isTaxable\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxCode\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        thumbnail\n      }\n      referenceId\n      recurringItemsFrequencyId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      totalItemQuantity\n      billing {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      constraints {\n        shipping {\n          fulfillmentType\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          fulfillmentOptionModifier {\n            _id\n            name\n            label\n            description\n            classification\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n            }\n            additionalDaysToDeliver\n            createdAt\n            updatedAt\n            ordersCount\n            daysRemaining\n          }\n        }\n      }\n      updatedAt\n      paymentMethod\n      blockPaymentMethodChange\n      numberOfInstallments\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    clientMutationId\n    incorrectPriceFailures {\n      currentPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      providedPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    minOrderQuantityFailures {\n      minOrderQuantity\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      quantity\n    }\n    maxOrderQuantityFailures {\n      maxOrderQuantity\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      quantity\n    }\n    token\n    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"shopId\": \"{{shopId}}\",\n    \"cartTemplateId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## createCartByTemplate\n\n**Propósito:** Cria um carrinho novo a partir de um template de carrinho existente, copiando seus itens, frete e desconto configurados.\n**Quando usar:** Depois de escolher um template (via `cartTemplate`/`cartTemplates`) que represente a compra desejada. O carrinho criado é anônimo (não fica vinculado à sua conta) — guarde o `token` retornado, pois ele é a única forma de referenciar esse carrinho depois em `updateCart`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo enviando o mesmo `cartTemplateId` — chamar duas vezes gera dois carrinhos distintos. Se sua chamada falhar por timeout de rede antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim; reenviar cegamente pode duplicar. A API não expõe uma forma de listar carrinhos por `cartTemplateId`, então o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization`. Mesmo esta operação não exigindo permissão específica internamente, envie sempre um `Authorization` válido — sem ele o carrinho é criado sem vínculo de conta.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartByTemplateInput!`.\n\n| Nome                   | Tipo  | Obrigatório | Default | Descrição                                                                                                                      |\n| ---------------------- | ----- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------ |\n| `input.shopId`         | `ID!` | Sim         | —       | ID da sua loja. Diferente de outras operações desta API, aqui o `shopId` **não** é derivado do token — envie-o explicitamente. |\n| `input.cartTemplateId` | `ID!` | Sim         | —       | `_id` do template de carrinho a ser usado (ver `cartTemplate`/`cartTemplates`).                                                |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                             |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho recém-criado. `null` se nenhum item do template pôde ser adicionado (ver `minOrderQuantityFailures`/`maxOrderQuantityFailures`).                           |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo recém-criado. **É retornado apenas nesta chamada** — armazene-o com segurança, você precisará dele em `updateCart` (`cartToken`). |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é herdado do template, e a checagem de preço enviado pelo parceiro não se aplica aqui.                                           |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens do template cuja quantidade configurada ficou abaixo do mínimo atual de pedido do produto/variante.                                                             |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens do template cuja quantidade configurada ficou acima do máximo atual de pedido do produto/variante.                                                              |\n| `cartEvents`               | `[CartEvent]`                       | Eventos relevantes ocorridos como efeito colateral (ex.: desconto do template removido por não ser mais válido).                                                      |\n\n### Erros\n\n| Código                            | Condição                                                                                           | O que fazer                                                                                                |\n| --------------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATE_NOT_FOUND_ERROR`   | Não existe template não-excluído com o `cartTemplateId` informado, na loja informada por `shopId`. | Confira `cartTemplateId` e `shopId`; use `cartTemplate`/`cartTemplates` para localizar o template correto. |\n| `CART_TEMPLATE_PAUSED_ERROR`      | O template está com `status: PAUSED`.                                                              | Reative o template (`updateCartTemplate`) antes de usá-lo, ou escolha outro.                               |\n| `CART_TEMPLATE_IS_EXPIRED_ERROR`  | A data atual passou de `constraints.expirationDate` do template.                                   | Escolha um template não expirado, ou peça para configurarem uma nova data de expiração.                    |\n| `CART_TEMPLATE_IS_SOLD_OUT_ERROR` | `constraints.usageLimit` do template já foi atingido pelo número de carrinhos/pedidos gerados.     | Escolha outro template, ou peça para aumentarem/removerem o limite.                                        |\n| `ALL_ITEMS_OUT_OF_STOCK_ERROR`    | Nenhum item do template tem estoque disponível no momento.                                         | Verifique o estoque dos produtos do template (`simpleInventory`) antes de tentar novamente.                |\n| `UNABLE_TO_SAVE_CART_ERROR`       | Falha ao persistir o carrinho (erro interno).                                                      | Tente novamente; se persistir, contate seu representante Unbox.                                            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Campos obrigatórios ausentes (`shopId`, `cartTemplateId`) retornam um erro de validação com mensagem descritiva, sem `extensions.code` estável — verifique sempre `message`.\n\n### Notas\n\n- **Não é idempotente.** Repetir a chamada com o mesmo `cartTemplateId` cria um novo carrinho a cada vez (não há deduplicação por template ou por qualquer outro campo do input).\n- **O carrinho criado é anônimo.** Ele não fica automaticamente vinculado à sua conta autenticada — o acesso a ele depois é feito pelo par `cartId`/`cartToken` retornado nesta chamada, não pelo `Authorization`.\n- **`token` só é retornado nesta chamada.** Se você perdê-lo, não há como recuperá-lo depois — trate-o como o `cartToken` necessário para toda operação futura sobre esse carrinho.\n- Descontos configurados no template (`discount.code`) são reaplicados automaticamente ao carrinho recém-criado, se ainda válidos."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createCartByTemplate\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"email\": \"cliente@exemplo.com\",\n        \"expiresAt\": \"2025-01-15T10:00:00Z\",\n        \"referenceId\": \"Example_String\",\n        \"recurringItemsFrequencyId\": \"Example_String\",\n        \"totalItemQuantity\": 10,\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"blockPaymentMethodChange\": true,\n        \"numberOfInstallments\": 10\n      },\n      \"clientMutationId\": \"Example_String\",\n      \"incorrectPriceFailures\": [\n        {}\n      ],\n      \"minOrderQuantityFailures\": [\n        {\n          \"minOrderQuantity\": 10,\n          \"quantity\": 1\n        }\n      ],\n      \"maxOrderQuantityFailures\": [\n        {\n          \"maxOrderQuantity\": 10,\n          \"quantity\": 1\n        }\n      ],\n      \"token\": \"Example_String\",\n      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"3dc900a1-317e-4f46-9638-2dc10d6ebfdd","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartByTemplate($input: CreateCartByTemplateInput!) {\n  createCartByTemplate(input: $input) {\n    cart {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      checkout {\n        fulfillmentGroups {\n          _id\n          availableFulfillmentOptions {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          data {\n            shippingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n          }\n          items {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isVisible\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            recurrenceAllowed\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            minOrderQuantity\n            maxOrderQuantity\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          type\n        }\n        summary {\n          discountSummary {\n            itemsRecurrenceDiscount {\n              amount\n              displayAmount\n            }\n            compareAtPriceDiscount {\n              amount\n              displayAmount\n            }\n            totalDiscountCodeAmount {\n              amount\n              displayAmount\n            }\n            fromKitItemDiscount {\n              amount\n              displayAmount\n            }\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          recurrenceItemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      createdAt\n      email\n      expiresAt\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isVisible\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          recurrenceAllowed\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          minOrderQuantity\n          maxOrderQuantity\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      missingItems {\n        _id\n        addedAt\n        attributes {\n          label\n          value\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        createdAt\n        imageURLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        isRecurring\n        isVisible\n        isDiscountedBonusItem\n        discountedBonusItemSource {\n          discountMethod\n          discountCalculationMethod\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        optionTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        kitItemConfigurations {\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        productSlug\n        recurrenceAllowed\n        productTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        productType\n        productVendor\n        quantity\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        title\n        updatedAt\n        variantTitle\n        minOrderQuantity\n        maxOrderQuantity\n        inventoryAvailableToSell\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        isTaxable\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxCode\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        thumbnail\n      }\n      referenceId\n      recurringItemsFrequencyId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      totalItemQuantity\n      billing {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      constraints {\n        shipping {\n          fulfillmentType\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          fulfillmentOptionModifier {\n            _id\n            name\n            label\n            description\n            classification\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n            }\n            additionalDaysToDeliver\n            createdAt\n            updatedAt\n            ordersCount\n            daysRemaining\n          }\n        }\n      }\n      updatedAt\n      paymentMethod\n      blockPaymentMethodChange\n      numberOfInstallments\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    clientMutationId\n    incorrectPriceFailures {\n      currentPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      providedPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    minOrderQuantityFailures {\n      minOrderQuantity\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      quantity\n    }\n    maxOrderQuantityFailures {\n      maxOrderQuantity\n      productConfiguration {\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      quantity\n    }\n    token\n    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"shopId\": \"{{shopId}}\",\n    \"cartTemplateId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## createCartByTemplate\n\n**Propósito:** Cria um carrinho novo a partir de um template de carrinho existente, copiando seus itens, frete e desconto configurados.\n**Quando usar:** Depois de escolher um template (via `cartTemplate`/`cartTemplates`) que represente a compra desejada. O carrinho criado é anônimo (não fica vinculado à sua conta) — guarde o `token` retornado, pois ele é a única forma de referenciar esse carrinho depois em `updateCart`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo enviando o mesmo `cartTemplateId` — chamar duas vezes gera dois carrinhos distintos. Se sua chamada falhar por timeout de rede antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim; reenviar cegamente pode duplicar. A API não expõe uma forma de listar carrinhos por `cartTemplateId`, então o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization`. Mesmo esta operação não exigindo permissão específica internamente, envie sempre um `Authorization` válido — sem ele o carrinho é criado sem vínculo de conta.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartByTemplateInput!`.\n\n| Nome                   | Tipo  | Obrigatório | Default | Descrição                                                                                                                      |\n| ---------------------- | ----- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------ |\n| `input.shopId`         | `ID!` | Sim         | —       | ID da sua loja. Diferente de outras operações desta API, aqui o `shopId` **não** é derivado do token — envie-o explicitamente. |\n| `input.cartTemplateId` | `ID!` | Sim         | —       | `_id` do template de carrinho a ser usado (ver `cartTemplate`/`cartTemplates`).                                                |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                             |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho recém-criado. `null` se nenhum item do template pôde ser adicionado (ver `minOrderQuantityFailures`/`maxOrderQuantityFailures`).                           |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo recém-criado. **É retornado apenas nesta chamada** — armazene-o com segurança, você precisará dele em `updateCart` (`cartToken`). |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é herdado do template, e a checagem de preço enviado pelo parceiro não se aplica aqui.                                           |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens do template cuja quantidade configurada ficou abaixo do mínimo atual de pedido do produto/variante.                                                             |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens do template cuja quantidade configurada ficou acima do máximo atual de pedido do produto/variante.                                                              |\n| `cartEvents`               | `[CartEvent]`                       | Eventos relevantes ocorridos como efeito colateral (ex.: desconto do template removido por não ser mais válido).                                                      |\n\n### Erros\n\n| Código                            | Condição                                                                                           | O que fazer                                                                                                |\n| --------------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATE_NOT_FOUND_ERROR`   | Não existe template não-excluído com o `cartTemplateId` informado, na loja informada por `shopId`. | Confira `cartTemplateId` e `shopId`; use `cartTemplate`/`cartTemplates` para localizar o template correto. |\n| `CART_TEMPLATE_PAUSED_ERROR`      | O template está com `status: PAUSED`.                                                              | Reative o template (`updateCartTemplate`) antes de usá-lo, ou escolha outro.                               |\n| `CART_TEMPLATE_IS_EXPIRED_ERROR`  | A data atual passou de `constraints.expirationDate` do template.                                   | Escolha um template não expirado, ou peça para configurarem uma nova data de expiração.                    |\n| `CART_TEMPLATE_IS_SOLD_OUT_ERROR` | `constraints.usageLimit` do template já foi atingido pelo número de carrinhos/pedidos gerados.     | Escolha outro template, ou peça para aumentarem/removerem o limite.                                        |\n| `ALL_ITEMS_OUT_OF_STOCK_ERROR`    | Nenhum item do template tem estoque disponível no momento.                                         | Verifique o estoque dos produtos do template (`simpleInventory`) antes de tentar novamente.                |\n| `UNABLE_TO_SAVE_CART_ERROR`       | Falha ao persistir o carrinho (erro interno).                                                      | Tente novamente; se persistir, contate seu representante Unbox.                                            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Campos obrigatórios ausentes (`shopId`, `cartTemplateId`) retornam um erro de validação com mensagem descritiva, sem `extensions.code` estável — verifique sempre `message`.\n\n### Notas\n\n- **Não é idempotente.** Repetir a chamada com o mesmo `cartTemplateId` cria um novo carrinho a cada vez (não há deduplicação por template ou por qualquer outro campo do input).\n- **O carrinho criado é anônimo.** Ele não fica automaticamente vinculado à sua conta autenticada — o acesso a ele depois é feito pelo par `cartId`/`cartToken` retornado nesta chamada, não pelo `Authorization`.\n- **`token` só é retornado nesta chamada.** Se você perdê-lo, não há como recuperá-lo depois — trate-o como o `cartToken` necessário para toda operação futura sobre esse carrinho.\n- Descontos configurados no template (`discount.code`) são reaplicados automaticamente ao carrinho recém-criado, se ainda válidos."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"7cf9ebd7-4d3a-5a08-95a1-26935202df15"},{"name":"[Mutation] updateCart","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns updateCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"updateCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"11dceca8-ef8a-5770-b638-0d30b87c8511","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCart($input: UpdateCartInput!) {\n  updateCart(input: $input) {\n    cart {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      checkout {\n        fulfillmentGroups {\n          _id\n          availableFulfillmentOptions {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          data {\n            shippingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n          }\n          items {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isVisible\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            recurrenceAllowed\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            minOrderQuantity\n            maxOrderQuantity\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          type\n        }\n        summary {\n          discountSummary {\n            itemsRecurrenceDiscount {\n              amount\n              displayAmount\n            }\n            compareAtPriceDiscount {\n              amount\n              displayAmount\n            }\n            totalDiscountCodeAmount {\n              amount\n              displayAmount\n            }\n            fromKitItemDiscount {\n              amount\n              displayAmount\n            }\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          recurrenceItemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      createdAt\n      email\n      expiresAt\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isVisible\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          recurrenceAllowed\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          minOrderQuantity\n          maxOrderQuantity\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      missingItems {\n        _id\n        addedAt\n        attributes {\n          label\n          value\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        createdAt\n        imageURLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        isRecurring\n        isVisible\n        isDiscountedBonusItem\n        discountedBonusItemSource {\n          discountMethod\n          discountCalculationMethod\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        optionTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        kitItemConfigurations {\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        productSlug\n        recurrenceAllowed\n        productTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        productType\n        productVendor\n        quantity\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        title\n        updatedAt\n        variantTitle\n        minOrderQuantity\n        maxOrderQuantity\n        inventoryAvailableToSell\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        isTaxable\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxCode\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        thumbnail\n      }\n      referenceId\n      recurringItemsFrequencyId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      totalItemQuantity\n      billing {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      constraints {\n        shipping {\n          fulfillmentType\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          fulfillmentOptionModifier {\n            _id\n            name\n            label\n            description\n            classification\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n            }\n            additionalDaysToDeliver\n            createdAt\n            updatedAt\n            ordersCount\n            daysRemaining\n          }\n        }\n      }\n      updatedAt\n      paymentMethod\n      blockPaymentMethodChange\n      numberOfInstallments\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"numberOfInstallments\": 10\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"updatecart\">updateCart</h2>\n<p><strong>Propósito:</strong> Atualiza a forma de pagamento, o número de parcelas e/ou a frequência de recorrência de um carrinho existente.\n<strong>Quando usar:</strong> Depois de criar um carrinho (por exemplo, com <code>createCartByTemplate</code>), para definir ou trocar como o comprador vai pagar antes de fechar o pedido. <strong>É idempotente para o mesmo conjunto de valores</strong>: reenviar o mesmo <code>input</code> sobre o mesmo carrinho aplica o mesmo estado novamente sem efeito colateral adicional; porém, como é uma atualização parcial, cada chamada só altera os campos que você enviar — campos omitidos permanecem com o valor atual do carrinho.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Se o carrinho pertencer a uma conta (não for anônimo), você precisa estar autenticado como essa mesma conta — caso contrário a chamada falha com <code>FORBIDDEN_ERROR</code>. Para carrinhos anônimos (por exemplo, criados por <code>createCartByTemplate</code>), a validação é feita pelo <code>cartToken</code>, não pela conta.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpdateCartInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.cartId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do carrinho a atualizar.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim, se o carrinho for anônimo (ex.: criado por <code>createCartByTemplate</code>)</td>\n<td><code>null</code></td>\n<td>Token retornado na criação do carrinho. Obrigatório para acessar um carrinho sem conta vinculada.</td>\n</tr>\n<tr>\n<td><code>input.paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Forma de pagamento a aplicar. Envie <code>null</code> explicitamente para limpar a forma de pagamento já definida.</td>\n</tr>\n<tr>\n<td><code>input.numberOfInstallments</code></td>\n<td><code>Int</code></td>\n<td>Sim, quando <code>paymentMethod</code> é uma forma de crédito parcelado</td>\n<td>—</td>\n<td>Número de parcelas. Deve ser um inteiro ≥ 1.</td>\n</tr>\n<tr>\n<td><code>input.recurringItemsFrequencyId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>ID de uma frequência de recorrência (ver <code>getInstallments</code>/catálogo de recorrência). Envie <code>null</code> explicitamente para remover a recorrência já definida.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>UpdateCartPayload!</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cart</code></td>\n<td><code>Cart!</code></td>\n<td>O carrinho já atualizado.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Eventos relevantes ocorridos como efeito colateral desta atualização, se houver.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>NOT_FOUND</code></td>\n<td>Nenhum carrinho ativo (<code>isLocked: false</code>) casa com <code>cartId</code> (e <code>cartToken</code>, quando enviado).</td>\n<td>Confira o <code>cartId</code>/<code>cartToken</code>; carrinhos travados (em checkout) ou inexistentes não são encontrados.</td>\n</tr>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td>O carrinho pertence a uma conta diferente da conta autenticada na chamada.</td>\n<td>Autentique-se com a conta dona do carrinho, ou use o <code>cartToken</code> correto se o carrinho for anônimo.</td>\n</tr>\n<tr>\n<td>—</td>\n<td>Campo obrigatório ausente/inválido (ex.: <code>numberOfInstallments</code> ausente com forma de pagamento de crédito parcelado).</td>\n<td>Corrija o <code>input</code> conforme a tabela acima; verifique <code>message</code> (sem <code>extensions.code</code> estável).</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Atualização parcial, não substituição completa.</strong> Só os campos presentes no <code>input</code> são alterados; para limpar um valor já definido (ex.: remover a forma de pagamento), envie o campo explicitamente como <code>null</code> — omiti-lo mantém o valor atual.</li>\n<li><strong><code>blockPaymentMethodChange</code> no carrinho pode travar a troca da forma de pagamento.</strong> Se o carrinho (herdado do template que o originou, por exemplo) tiver <code>blockPaymentMethodChange: true</code>, o <code>paymentMethod</code>/<code>numberOfInstallments</code> enviados são ignorados silenciosamente — a chamada não retorna erro, mas o carrinho retornado mantém a forma de pagamento anterior.</li>\n<li><strong>Carrinhos anônimos exigem <code>cartToken</code>; carrinhos de conta exigem a mesma conta autenticada.</strong> Não existe uma terceira via de acesso — perder o <code>cartToken</code> de um carrinho anônimo o torna inacessível por esta operação.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c558f7c4-1f2c-454c-838b-ccb1626af32a","name":"200 - updateCart","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCart($input: UpdateCartInput!) {\n  updateCart(input: $input) {\n    cart {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      checkout {\n        fulfillmentGroups {\n          _id\n          availableFulfillmentOptions {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          data {\n            shippingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n          }\n          items {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isVisible\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            recurrenceAllowed\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            minOrderQuantity\n            maxOrderQuantity\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          type\n        }\n        summary {\n          discountSummary {\n            itemsRecurrenceDiscount {\n              amount\n              displayAmount\n            }\n            compareAtPriceDiscount {\n              amount\n              displayAmount\n            }\n            totalDiscountCodeAmount {\n              amount\n              displayAmount\n            }\n            fromKitItemDiscount {\n              amount\n              displayAmount\n            }\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          recurrenceItemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      createdAt\n      email\n      expiresAt\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isVisible\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          recurrenceAllowed\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          minOrderQuantity\n          maxOrderQuantity\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      missingItems {\n        _id\n        addedAt\n        attributes {\n          label\n          value\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        createdAt\n        imageURLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        isRecurring\n        isVisible\n        isDiscountedBonusItem\n        discountedBonusItemSource {\n          discountMethod\n          discountCalculationMethod\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        optionTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        kitItemConfigurations {\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        productSlug\n        recurrenceAllowed\n        productTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        productType\n        productVendor\n        quantity\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        title\n        updatedAt\n        variantTitle\n        minOrderQuantity\n        maxOrderQuantity\n        inventoryAvailableToSell\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        isTaxable\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxCode\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        thumbnail\n      }\n      referenceId\n      recurringItemsFrequencyId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      totalItemQuantity\n      billing {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      constraints {\n        shipping {\n          fulfillmentType\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          fulfillmentOptionModifier {\n            _id\n            name\n            label\n            description\n            classification\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n            }\n            additionalDaysToDeliver\n            createdAt\n            updatedAt\n            ordersCount\n            daysRemaining\n          }\n        }\n      }\n      updatedAt\n      paymentMethod\n      blockPaymentMethodChange\n      numberOfInstallments\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"numberOfInstallments\": 10\n  }\n}"}},"url":"{{base_url}}","description":"## updateCart\n\n**Propósito:** Atualiza a forma de pagamento, o número de parcelas e/ou a frequência de recorrência de um carrinho existente.\n**Quando usar:** Depois de criar um carrinho (por exemplo, com `createCartByTemplate`), para definir ou trocar como o comprador vai pagar antes de fechar o pedido. **É idempotente para o mesmo conjunto de valores**: reenviar o mesmo `input` sobre o mesmo carrinho aplica o mesmo estado novamente sem efeito colateral adicional; porém, como é uma atualização parcial, cada chamada só altera os campos que você enviar — campos omitidos permanecem com o valor atual do carrinho.\n**Autenticação:** `x-api-key` + `Authorization`. Se o carrinho pertencer a uma conta (não for anônimo), você precisa estar autenticado como essa mesma conta — caso contrário a chamada falha com `FORBIDDEN_ERROR`. Para carrinhos anônimos (por exemplo, criados por `createCartByTemplate`), a validação é feita pelo `cartToken`, não pela conta.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartInput!`.\n\n| Nome                              | Tipo                | Obrigatório                                                             | Default | Descrição                                                                                                                                                |\n| --------------------------------- | ------------------- | ----------------------------------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`                    | `ID!`               | Sim                                                                     | —       | `_id` do carrinho a atualizar.                                                                                                                           |\n| `input.cartToken`                 | `String`            | Sim, se o carrinho for anônimo (ex.: criado por `createCartByTemplate`) | `null`  | Token retornado na criação do carrinho. Obrigatório para acessar um carrinho sem conta vinculada.                                                        |\n| `input.paymentMethod`             | `PaymentMethodName` | Não                                                                     | —       | Forma de pagamento a aplicar. Envie `null` explicitamente para limpar a forma de pagamento já definida.                                                  |\n| `input.numberOfInstallments`      | `Int`               | Sim, quando `paymentMethod` é uma forma de crédito parcelado            | —       | Número de parcelas. Deve ser um inteiro ≥ 1.                                                                                                             |\n| `input.recurringItemsFrequencyId` | `String`            | Não                                                                     | —       | ID de uma frequência de recorrência (ver `getInstallments`/catálogo de recorrência). Envie `null` explicitamente para remover a recorrência já definida. |\n\n### Retorno\n\n`UpdateCartPayload!`:\n\n| Propriedade  | Tipo          | Descrição                                                                        |\n| ------------ | ------------- | -------------------------------------------------------------------------------- |\n| `cart`       | `Cart!`       | O carrinho já atualizado.                                                        |\n| `cartEvents` | `[CartEvent]` | Eventos relevantes ocorridos como efeito colateral desta atualização, se houver. |\n\n### Erros\n\n| Código            | Condição                                                                                                              | O que fazer                                                                                           |\n| ----------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`       | Nenhum carrinho ativo (`isLocked: false`) casa com `cartId` (e `cartToken`, quando enviado).                          | Confira o `cartId`/`cartToken`; carrinhos travados (em checkout) ou inexistentes não são encontrados. |\n| `FORBIDDEN_ERROR` | O carrinho pertence a uma conta diferente da conta autenticada na chamada.                                            | Autentique-se com a conta dona do carrinho, ou use o `cartToken` correto se o carrinho for anônimo.   |\n| —                 | Campo obrigatório ausente/inválido (ex.: `numberOfInstallments` ausente com forma de pagamento de crédito parcelado). | Corrija o `input` conforme a tabela acima; verifique `message` (sem `extensions.code` estável).       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Atualização parcial, não substituição completa.** Só os campos presentes no `input` são alterados; para limpar um valor já definido (ex.: remover a forma de pagamento), envie o campo explicitamente como `null` — omiti-lo mantém o valor atual.\n- **`blockPaymentMethodChange` no carrinho pode travar a troca da forma de pagamento.** Se o carrinho (herdado do template que o originou, por exemplo) tiver `blockPaymentMethodChange: true`, o `paymentMethod`/`numberOfInstallments` enviados são ignorados silenciosamente — a chamada não retorna erro, mas o carrinho retornado mantém a forma de pagamento anterior.\n- **Carrinhos anônimos exigem `cartToken`; carrinhos de conta exigem a mesma conta autenticada.** Não existe uma terceira via de acesso — perder o `cartToken` de um carrinho anônimo o torna inacessível por esta operação."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"updateCart\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"email\": \"cliente@exemplo.com\",\n        \"expiresAt\": \"2025-01-15T10:00:00Z\",\n        \"referenceId\": \"Example_String\",\n        \"recurringItemsFrequencyId\": \"Example_String\",\n        \"totalItemQuantity\": 10,\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"blockPaymentMethodChange\": true,\n        \"numberOfInstallments\": 10\n      },\n      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"f24db113-0aa7-480b-a742-8128cbfdd1e5","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCart($input: UpdateCartInput!) {\n  updateCart(input: $input) {\n    cart {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      checkout {\n        fulfillmentGroups {\n          _id\n          availableFulfillmentOptions {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          data {\n            shippingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n          }\n          items {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isVisible\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            recurrenceAllowed\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            minOrderQuantity\n            maxOrderQuantity\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          type\n        }\n        summary {\n          discountSummary {\n            itemsRecurrenceDiscount {\n              amount\n              displayAmount\n            }\n            compareAtPriceDiscount {\n              amount\n              displayAmount\n            }\n            totalDiscountCodeAmount {\n              amount\n              displayAmount\n            }\n            fromKitItemDiscount {\n              amount\n              displayAmount\n            }\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          recurrenceItemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      createdAt\n      email\n      expiresAt\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isVisible\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          recurrenceAllowed\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          minOrderQuantity\n          maxOrderQuantity\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      missingItems {\n        _id\n        addedAt\n        attributes {\n          label\n          value\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        createdAt\n        imageURLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        isRecurring\n        isVisible\n        isDiscountedBonusItem\n        discountedBonusItemSource {\n          discountMethod\n          discountCalculationMethod\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        optionTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        kitItemConfigurations {\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        productSlug\n        recurrenceAllowed\n        productTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        productType\n        productVendor\n        quantity\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        title\n        updatedAt\n        variantTitle\n        minOrderQuantity\n        maxOrderQuantity\n        inventoryAvailableToSell\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        isTaxable\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxCode\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        thumbnail\n      }\n      referenceId\n      recurringItemsFrequencyId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      totalItemQuantity\n      billing {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      constraints {\n        shipping {\n          fulfillmentType\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          fulfillmentOptionModifier {\n            _id\n            name\n            label\n            description\n            classification\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n            }\n            additionalDaysToDeliver\n            createdAt\n            updatedAt\n            ordersCount\n            daysRemaining\n          }\n        }\n      }\n      updatedAt\n      paymentMethod\n      blockPaymentMethodChange\n      numberOfInstallments\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"numberOfInstallments\": 10\n  }\n}"}},"url":"{{base_url}}","description":"## updateCart\n\n**Propósito:** Atualiza a forma de pagamento, o número de parcelas e/ou a frequência de recorrência de um carrinho existente.\n**Quando usar:** Depois de criar um carrinho (por exemplo, com `createCartByTemplate`), para definir ou trocar como o comprador vai pagar antes de fechar o pedido. **É idempotente para o mesmo conjunto de valores**: reenviar o mesmo `input` sobre o mesmo carrinho aplica o mesmo estado novamente sem efeito colateral adicional; porém, como é uma atualização parcial, cada chamada só altera os campos que você enviar — campos omitidos permanecem com o valor atual do carrinho.\n**Autenticação:** `x-api-key` + `Authorization`. Se o carrinho pertencer a uma conta (não for anônimo), você precisa estar autenticado como essa mesma conta — caso contrário a chamada falha com `FORBIDDEN_ERROR`. Para carrinhos anônimos (por exemplo, criados por `createCartByTemplate`), a validação é feita pelo `cartToken`, não pela conta.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartInput!`.\n\n| Nome                              | Tipo                | Obrigatório                                                             | Default | Descrição                                                                                                                                                |\n| --------------------------------- | ------------------- | ----------------------------------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`                    | `ID!`               | Sim                                                                     | —       | `_id` do carrinho a atualizar.                                                                                                                           |\n| `input.cartToken`                 | `String`            | Sim, se o carrinho for anônimo (ex.: criado por `createCartByTemplate`) | `null`  | Token retornado na criação do carrinho. Obrigatório para acessar um carrinho sem conta vinculada.                                                        |\n| `input.paymentMethod`             | `PaymentMethodName` | Não                                                                     | —       | Forma de pagamento a aplicar. Envie `null` explicitamente para limpar a forma de pagamento já definida.                                                  |\n| `input.numberOfInstallments`      | `Int`               | Sim, quando `paymentMethod` é uma forma de crédito parcelado            | —       | Número de parcelas. Deve ser um inteiro ≥ 1.                                                                                                             |\n| `input.recurringItemsFrequencyId` | `String`            | Não                                                                     | —       | ID de uma frequência de recorrência (ver `getInstallments`/catálogo de recorrência). Envie `null` explicitamente para remover a recorrência já definida. |\n\n### Retorno\n\n`UpdateCartPayload!`:\n\n| Propriedade  | Tipo          | Descrição                                                                        |\n| ------------ | ------------- | -------------------------------------------------------------------------------- |\n| `cart`       | `Cart!`       | O carrinho já atualizado.                                                        |\n| `cartEvents` | `[CartEvent]` | Eventos relevantes ocorridos como efeito colateral desta atualização, se houver. |\n\n### Erros\n\n| Código            | Condição                                                                                                              | O que fazer                                                                                           |\n| ----------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`       | Nenhum carrinho ativo (`isLocked: false`) casa com `cartId` (e `cartToken`, quando enviado).                          | Confira o `cartId`/`cartToken`; carrinhos travados (em checkout) ou inexistentes não são encontrados. |\n| `FORBIDDEN_ERROR` | O carrinho pertence a uma conta diferente da conta autenticada na chamada.                                            | Autentique-se com a conta dona do carrinho, ou use o `cartToken` correto se o carrinho for anônimo.   |\n| —                 | Campo obrigatório ausente/inválido (ex.: `numberOfInstallments` ausente com forma de pagamento de crédito parcelado). | Corrija o `input` conforme a tabela acima; verifique `message` (sem `extensions.code` estável).       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Atualização parcial, não substituição completa.** Só os campos presentes no `input` são alterados; para limpar um valor já definido (ex.: remover a forma de pagamento), envie o campo explicitamente como `null` — omiti-lo mantém o valor atual.\n- **`blockPaymentMethodChange` no carrinho pode travar a troca da forma de pagamento.** Se o carrinho (herdado do template que o originou, por exemplo) tiver `blockPaymentMethodChange: true`, o `paymentMethod`/`numberOfInstallments` enviados são ignorados silenciosamente — a chamada não retorna erro, mas o carrinho retornado mantém a forma de pagamento anterior.\n- **Carrinhos anônimos exigem `cartToken`; carrinhos de conta exigem a mesma conta autenticada.** Não existe uma terceira via de acesso — perder o `cartToken` de um carrinho anônimo o torna inacessível por esta operação."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"11dceca8-ef8a-5770-b638-0d30b87c8511"},{"name":"[Mutation] createCartTemplateFromCart","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns createCartTemplateFromCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createCartTemplateFromCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"d50d1043-78e1-53d5-b3a2-ba8b32c4e68e","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplateFromCart($cartId: String) {\n  createCartTemplateFromCart(cartId: $cartId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartId\": \"{{cartId}}\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"createcarttemplatefromcart\">createCartTemplateFromCart</h2>\n<p><strong>Propósito:</strong> Cria um template de carrinho novo a partir dos itens e do desconto de um carrinho existente, para reaproveitar aquela combinação depois.\n<strong>Quando usar:</strong> Quando você já tem um carrinho montado (por exemplo, um carrinho recorrente ou de um pedido de sucesso) e quer transformá-lo num template reutilizável, em vez de remontar os itens manualmente em <code>createCartTemplate</code>. <strong>Não é idempotente</strong>: cada chamada cria um template novo, mesmo enviando o mesmo <code>cartId</code> — chamar duas vezes gera dois templates distintos com o mesmo conteúdo.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada, e o carrinho buscado é restrito a essa loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cartId</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do carrinho de origem, na sua loja.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CartTemplate</code> — mesma forma retornada pela query <code>cartTemplate</code> (ver essa página para a tabela completa de campos).</p>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CART_NOT_FOUND_ERROR</code></td>\n<td>Não existe carrinho ativo (<code>isLocked: false</code>) com o <code>cartId</code> informado na sua loja.</td>\n<td>Confira o <code>cartId</code>; carrinhos travados (em checkout) ou de outra loja não são encontrados.</td>\n</tr>\n<tr>\n<td><code>CART_EMPTY_ERROR</code></td>\n<td>O carrinho de origem não tem itens.</td>\n<td>Use um carrinho com ao menos um item.</td>\n</tr>\n<tr>\n<td><code>CART_PRODUCT_NOT_FOUND_ERROR</code></td>\n<td>Algum item do carrinho referencia um produto que não existe mais no catálogo.</td>\n<td>Remova/atualize esse item no carrinho antes de gerar o template, ou monte o template manualmente com <code>createCartTemplate</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Enviar <code>cartId</code> ausente ou vazio retorna um erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não é idempotente.</strong> Repetir a chamada com o mesmo <code>cartId</code> cria um novo template a cada vez.</li>\n<li><strong>O template herda o desconto do carrinho, não o desconto por código.</strong> Se o carrinho tiver um desconto aplicado, o template criado referencia esse mesmo desconto — mas não herda frete, forma de pagamento ou as flags <code>blockPaymentMethodChange</code>/<code>blockApplyDiscountCode</code>/<code>blockApplyShopSale</code> do carrinho; se precisar delas no template, configure-as depois com <code>updateCartTemplate</code>.</li>\n<li><strong>A frequência de recorrência é herdada quando o carrinho de origem tem uma configurada</strong> (<code>recurringItemsFrequencyId</code>); caso contrário, o template é criado sem recorrência.</li>\n<li>O template criado começa sempre com <code>status: ACTIVE</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5b9da72c-723b-4d42-930c-961da7f340a2","name":"200 - createCartTemplateFromCart","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplateFromCart($cartId: String) {\n  createCartTemplateFromCart(cartId: $cartId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartId\": \"{{cartId}}\"\n}"}},"url":"{{base_url}}","description":"## createCartTemplateFromCart\n\n**Propósito:** Cria um template de carrinho novo a partir dos itens e do desconto de um carrinho existente, para reaproveitar aquela combinação depois.\n**Quando usar:** Quando você já tem um carrinho montado (por exemplo, um carrinho recorrente ou de um pedido de sucesso) e quer transformá-lo num template reutilizável, em vez de remontar os itens manualmente em `createCartTemplate`. **Não é idempotente**: cada chamada cria um template novo, mesmo enviando o mesmo `cartId` — chamar duas vezes gera dois templates distintos com o mesmo conteúdo.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada, e o carrinho buscado é restrito a essa loja.\n\n### Argumentos\n\n| Nome     | Tipo     | Obrigatório | Default | Descrição                                 |\n| -------- | -------- | ----------- | ------- | ----------------------------------------- |\n| `cartId` | `String` | Sim         | —       | `_id` do carrinho de origem, na sua loja. |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos).\n\n### Erros\n\n| Código                         | Condição                                                                            | O que fazer                                                                                                                |\n| ------------------------------ | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`         | Não existe carrinho ativo (`isLocked: false`) com o `cartId` informado na sua loja. | Confira o `cartId`; carrinhos travados (em checkout) ou de outra loja não são encontrados.                                 |\n| `CART_EMPTY_ERROR`             | O carrinho de origem não tem itens.                                                 | Use um carrinho com ao menos um item.                                                                                      |\n| `CART_PRODUCT_NOT_FOUND_ERROR` | Algum item do carrinho referencia um produto que não existe mais no catálogo.       | Remova/atualize esse item no carrinho antes de gerar o template, ou monte o template manualmente com `createCartTemplate`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Enviar `cartId` ausente ou vazio retorna um erro de validação com mensagem descritiva, sem `extensions.code` estável.\n\n### Notas\n\n- **Não é idempotente.** Repetir a chamada com o mesmo `cartId` cria um novo template a cada vez.\n- **O template herda o desconto do carrinho, não o desconto por código.** Se o carrinho tiver um desconto aplicado, o template criado referencia esse mesmo desconto — mas não herda frete, forma de pagamento ou as flags `blockPaymentMethodChange`/`blockApplyDiscountCode`/`blockApplyShopSale` do carrinho; se precisar delas no template, configure-as depois com `updateCartTemplate`.\n- **A frequência de recorrência é herdada quando o carrinho de origem tem uma configurada** (`recurringItemsFrequencyId`); caso contrário, o template é criado sem recorrência.\n- O template criado começa sempre com `status: ACTIVE`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createCartTemplateFromCart\": {\n      \"_id\": \"Example_ID\",\n      \"referenceId\": \"Example_String\",\n      \"type\": \"Example_String\",\n      \"shopId\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"title\": \"Example_String\",\n      \"createdBy\": \"Example_String\",\n      \"updatedBy\": \"Example_String\",\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"ordersCount\": 10,\n      \"constraints\": {\n        \"usageLimit\": 10,\n        \"expirationDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": \"ACTIVE\",\n      \"isSoldOut\": true,\n      \"isExpired\": true,\n      \"shipping\": {\n        \"fulfillmentType\": \"SHIPPING\"\n      },\n      \"items\": [\n        {\n          \"quantity\": 1,\n          \"isRecurring\": true,\n          \"isVisible\": true\n        }\n      ],\n      \"discount\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      },\n      \"recurringItemsFrequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"9f0cc3ee-6905-428e-bfcc-55bbad24d422","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplateFromCart($cartId: String) {\n  createCartTemplateFromCart(cartId: $cartId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartId\": \"{{cartId}}\"\n}"}},"url":"{{base_url}}","description":"## createCartTemplateFromCart\n\n**Propósito:** Cria um template de carrinho novo a partir dos itens e do desconto de um carrinho existente, para reaproveitar aquela combinação depois.\n**Quando usar:** Quando você já tem um carrinho montado (por exemplo, um carrinho recorrente ou de um pedido de sucesso) e quer transformá-lo num template reutilizável, em vez de remontar os itens manualmente em `createCartTemplate`. **Não é idempotente**: cada chamada cria um template novo, mesmo enviando o mesmo `cartId` — chamar duas vezes gera dois templates distintos com o mesmo conteúdo.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada, e o carrinho buscado é restrito a essa loja.\n\n### Argumentos\n\n| Nome     | Tipo     | Obrigatório | Default | Descrição                                 |\n| -------- | -------- | ----------- | ------- | ----------------------------------------- |\n| `cartId` | `String` | Sim         | —       | `_id` do carrinho de origem, na sua loja. |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos).\n\n### Erros\n\n| Código                         | Condição                                                                            | O que fazer                                                                                                                |\n| ------------------------------ | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`         | Não existe carrinho ativo (`isLocked: false`) com o `cartId` informado na sua loja. | Confira o `cartId`; carrinhos travados (em checkout) ou de outra loja não são encontrados.                                 |\n| `CART_EMPTY_ERROR`             | O carrinho de origem não tem itens.                                                 | Use um carrinho com ao menos um item.                                                                                      |\n| `CART_PRODUCT_NOT_FOUND_ERROR` | Algum item do carrinho referencia um produto que não existe mais no catálogo.       | Remova/atualize esse item no carrinho antes de gerar o template, ou monte o template manualmente com `createCartTemplate`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Enviar `cartId` ausente ou vazio retorna um erro de validação com mensagem descritiva, sem `extensions.code` estável.\n\n### Notas\n\n- **Não é idempotente.** Repetir a chamada com o mesmo `cartId` cria um novo template a cada vez.\n- **O template herda o desconto do carrinho, não o desconto por código.** Se o carrinho tiver um desconto aplicado, o template criado referencia esse mesmo desconto — mas não herda frete, forma de pagamento ou as flags `blockPaymentMethodChange`/`blockApplyDiscountCode`/`blockApplyShopSale` do carrinho; se precisar delas no template, configure-as depois com `updateCartTemplate`.\n- **A frequência de recorrência é herdada quando o carrinho de origem tem uma configurada** (`recurringItemsFrequencyId`); caso contrário, o template é criado sem recorrência.\n- O template criado começa sempre com `status: ACTIVE`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"d02692ee-5111-416e-85e7-3267c7deb238","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplateFromCart($cartId: String) {\n  createCartTemplateFromCart(cartId: $cartId) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"cartId\": \"{{cartId}}\"\n}"}},"url":"{{base_url}}","description":"## createCartTemplateFromCart\n\n**Propósito:** Cria um template de carrinho novo a partir dos itens e do desconto de um carrinho existente, para reaproveitar aquela combinação depois.\n**Quando usar:** Quando você já tem um carrinho montado (por exemplo, um carrinho recorrente ou de um pedido de sucesso) e quer transformá-lo num template reutilizável, em vez de remontar os itens manualmente em `createCartTemplate`. **Não é idempotente**: cada chamada cria um template novo, mesmo enviando o mesmo `cartId` — chamar duas vezes gera dois templates distintos com o mesmo conteúdo.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada, e o carrinho buscado é restrito a essa loja.\n\n### Argumentos\n\n| Nome     | Tipo     | Obrigatório | Default | Descrição                                 |\n| -------- | -------- | ----------- | ------- | ----------------------------------------- |\n| `cartId` | `String` | Sim         | —       | `_id` do carrinho de origem, na sua loja. |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos).\n\n### Erros\n\n| Código                         | Condição                                                                            | O que fazer                                                                                                                |\n| ------------------------------ | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`         | Não existe carrinho ativo (`isLocked: false`) com o `cartId` informado na sua loja. | Confira o `cartId`; carrinhos travados (em checkout) ou de outra loja não são encontrados.                                 |\n| `CART_EMPTY_ERROR`             | O carrinho de origem não tem itens.                                                 | Use um carrinho com ao menos um item.                                                                                      |\n| `CART_PRODUCT_NOT_FOUND_ERROR` | Algum item do carrinho referencia um produto que não existe mais no catálogo.       | Remova/atualize esse item no carrinho antes de gerar o template, ou monte o template manualmente com `createCartTemplate`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Enviar `cartId` ausente ou vazio retorna um erro de validação com mensagem descritiva, sem `extensions.code` estável.\n\n### Notas\n\n- **Não é idempotente.** Repetir a chamada com o mesmo `cartId` cria um novo template a cada vez.\n- **O template herda o desconto do carrinho, não o desconto por código.** Se o carrinho tiver um desconto aplicado, o template criado referencia esse mesmo desconto — mas não herda frete, forma de pagamento ou as flags `blockPaymentMethodChange`/`blockApplyDiscountCode`/`blockApplyShopSale` do carrinho; se precisar delas no template, configure-as depois com `updateCartTemplate`.\n- **A frequência de recorrência é herdada quando o carrinho de origem tem uma configurada** (`recurringItemsFrequencyId`); caso contrário, o template é criado sem recorrência.\n- O template criado começa sempre com `status: ACTIVE`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"d50d1043-78e1-53d5-b3a2-ba8b32c4e68e"},{"name":"[Mutation] updateCartTemplate","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns updateCartTemplate data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"updateCartTemplate\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"c2760721-b5e7-51ac-ac0e-b8dd1f5cccbd","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCartTemplate($input: UpdateCartTemplateInput) {\n  updateCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplateId\": \"Example_ID\",\n    \"title\": \"Example_String\",\n    \"status\": \"ACTIVE\",\n    \"isDeleted\": true,\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"updatecarttemplate\">updateCartTemplate</h2>\n<p><strong>Propósito:</strong> Atualiza campos de um template de carrinho existente — título, status, restrições, forma de pagamento e as flags de bloqueio — ou o exclui (soft-delete).\n<strong>Quando usar:</strong> Para pausar/reativar um template (<code>status</code>), ajustar seu limite de uso ou data de expiração (<code>constraints</code>), ou removê-lo definitivamente da sua lista de templates ativos (<code>isDeleted: true</code>). <strong>É uma atualização parcial</strong>: só os campos enviados são alterados; é idempotente para o mesmo conjunto de valores, com uma exceção importante — ver Notas sobre excluir um template já excluído.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpdateCartTemplateInput</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.cartTemplateId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do template a atualizar.</td>\n</tr>\n<tr>\n<td><code>input.title</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Novo título.</td>\n</tr>\n<tr>\n<td><code>input.status</code></td>\n<td><code>CartTemplateStatus</code></td>\n<td>Não</td>\n<td>—</td>\n<td><code>ACTIVE</code> ou <code>PAUSED</code>.</td>\n</tr>\n<tr>\n<td><code>input.isDeleted</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Envie <code>true</code> para excluir o template (soft-delete). Ver Notas — não há operação para reverter.</td>\n</tr>\n<tr>\n<td><code>input.constraints</code></td>\n<td><code>CheckoutTemplateConstraintsInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td><code>{ usageLimit: Int, expirationDate: AWSDateTime }</code>. Envie o objeto completo — ver Notas.</td>\n</tr>\n<tr>\n<td><code>input.paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Nova forma de pagamento a fixar no template.</td>\n</tr>\n<tr>\n<td><code>input.blockPaymentMethodChange</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Se <code>true</code>, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.</td>\n</tr>\n<tr>\n<td><code>input.blockApplyDiscountCode</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Se <code>true</code>, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template.</td>\n</tr>\n<tr>\n<td><code>input.blockApplyShopSale</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Se <code>true</code>, promoções da loja não são aplicadas automaticamente.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CartTemplate</code> — mesma forma retornada pela query <code>cartTemplate</code> (ver essa página para a tabela completa de campos). Quando <code>isDeleted: true</code> é enviado, o objeto retornado ainda reflete o estado final do template no momento da exclusão.</p>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR</code></td>\n<td>Não existe template não-excluído com o <code>cartTemplateId</code> informado na sua loja (inclui o caso de já estar excluído).</td>\n<td>Confira o <code>cartTemplateId</code>; um template já excluído não pode ser atualizado novamente.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Enviar <code>cartTemplateId</code> ausente, ou um <code>status</code> fora de <code>ACTIVE</code>/<code>PAUSED</code>, retorna um erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Atualização parcial (<code>$set</code>), não substituição completa.</strong> Apenas os campos presentes no <code>input</code> são alterados — campos omitidos mantêm o valor já salvo no template. Isso vale inclusive para objetos aninhados como <code>constraints</code>: enviar <code>constraints: { usageLimit: 10 }</code> substitui o objeto <code>constraints</code> inteiro (não faz merge campo a campo dentro dele), então inclua todos os subcampos que devem permanecer.</li>\n<li><strong><code>isDeleted: true</code> é soft-delete e não é idempotente.</strong> A primeira chamada com <code>isDeleted: true</code> exclui o template. Chamar novamente sobre o mesmo <code>cartTemplateId</code> falha com <code>UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR</code>, porque a busca interna já exclui templates com <code>isDeleted: true</code> — trate esse erro como \"já estava excluído\", não necessariamente como falha real.</li>\n<li><strong>Não há operação para reverter uma exclusão.</strong> Depois de <code>isDeleted: true</code>, o template para de aparecer em <code>cartTemplate</code>/<code>cartTemplates</code> e não pode mais ser usado em <code>createCartByTemplate</code> (<code>CART_TEMPLATE_NOT_FOUND_ERROR</code>) nem atualizado novamente.</li>\n<li><strong>Templates pausados (<code>status: PAUSED</code>) continuam podendo ser atualizados</strong> (incluindo reativados com <code>status: ACTIVE</code>) — só <code>createCartByTemplate</code> é bloqueado para templates pausados, não <code>updateCartTemplate</code>.</li>\n<li><strong>Falha ao limpar a opção de frete do template excluído é best-effort e não é reportada ao cliente.</strong> Ao excluir o template (<code>isDeleted: true</code>), se a Unbox não conseguir limpar a opção de frete específica vinculada a ele, o erro (<code>COULD_NOT_DELETE_CART_TEMPLATE_FULFILLMENT_OPTION_MODIFIER_ERROR</code>) é apenas logado internamente (<code>Logger.error</code>) — <strong>nunca</strong> aparece em <code>errors[]</code> da resposta. O template é excluído normalmente mesmo assim; nenhuma ação necessária de sua parte.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0cd14562-2f3a-4b18-9e3d-ed06733d473d","name":"200 - updateCartTemplate","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCartTemplate($input: UpdateCartTemplateInput) {\n  updateCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplateId\": \"Example_ID\",\n    \"title\": \"Example_String\",\n    \"status\": \"ACTIVE\",\n    \"isDeleted\": true,\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## updateCartTemplate\n\n**Propósito:** Atualiza campos de um template de carrinho existente — título, status, restrições, forma de pagamento e as flags de bloqueio — ou o exclui (soft-delete).\n**Quando usar:** Para pausar/reativar um template (`status`), ajustar seu limite de uso ou data de expiração (`constraints`), ou removê-lo definitivamente da sua lista de templates ativos (`isDeleted: true`). **É uma atualização parcial**: só os campos enviados são alterados; é idempotente para o mesmo conjunto de valores, com uma exceção importante — ver Notas sobre excluir um template já excluído.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartTemplateInput`.\n\n| Nome                             | Tipo                               | Obrigatório | Default | Descrição                                                                                             |\n| -------------------------------- | ---------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------- |\n| `input.cartTemplateId`           | `ID!`                              | Sim         | —       | `_id` do template a atualizar.                                                                        |\n| `input.title`                    | `String`                           | Não         | —       | Novo título.                                                                                          |\n| `input.status`                   | `CartTemplateStatus`               | Não         | —       | `ACTIVE` ou `PAUSED`.                                                                                 |\n| `input.isDeleted`                | `Boolean`                          | Não         | —       | Envie `true` para excluir o template (soft-delete). Ver Notas — não há operação para reverter.        |\n| `input.constraints`              | `CheckoutTemplateConstraintsInput` | Não         | —       | `{ usageLimit: Int, expirationDate: AWSDateTime }`. Envie o objeto completo — ver Notas.              |\n| `input.paymentMethod`            | `PaymentMethodName`                | Não         | —       | Nova forma de pagamento a fixar no template.                                                          |\n| `input.blockPaymentMethodChange` | `Boolean`                          | Não         | —       | Se `true`, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.        |\n| `input.blockApplyDiscountCode`   | `Boolean`                          | Não         | —       | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template. |\n| `input.blockApplyShopSale`       | `Boolean`                          | Não         | —       | Se `true`, promoções da loja não são aplicadas automaticamente.                                       |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos). Quando `isDeleted: true` é enviado, o objeto retornado ainda reflete o estado final do template no momento da exclusão.\n\n### Erros\n\n| Código                                           | Condição                                                                                                            | O que fazer                                                                            |\n| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR` | Não existe template não-excluído com o `cartTemplateId` informado na sua loja (inclui o caso de já estar excluído). | Confira o `cartTemplateId`; um template já excluído não pode ser atualizado novamente. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Enviar `cartTemplateId` ausente, ou um `status` fora de `ACTIVE`/`PAUSED`, retorna um erro de validação com mensagem descritiva, sem `extensions.code` estável.\n\n### Notas\n\n- **Atualização parcial (`$set`), não substituição completa.** Apenas os campos presentes no `input` são alterados — campos omitidos mantêm o valor já salvo no template. Isso vale inclusive para objetos aninhados como `constraints`: enviar `constraints: { usageLimit: 10 }` substitui o objeto `constraints` inteiro (não faz merge campo a campo dentro dele), então inclua todos os subcampos que devem permanecer.\n- **`isDeleted: true` é soft-delete e não é idempotente.** A primeira chamada com `isDeleted: true` exclui o template. Chamar novamente sobre o mesmo `cartTemplateId` falha com `UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR`, porque a busca interna já exclui templates com `isDeleted: true` — trate esse erro como \"já estava excluído\", não necessariamente como falha real.\n- **Não há operação para reverter uma exclusão.** Depois de `isDeleted: true`, o template para de aparecer em `cartTemplate`/`cartTemplates` e não pode mais ser usado em `createCartByTemplate` (`CART_TEMPLATE_NOT_FOUND_ERROR`) nem atualizado novamente.\n- **Templates pausados (`status: PAUSED`) continuam podendo ser atualizados** (incluindo reativados com `status: ACTIVE`) — só `createCartByTemplate` é bloqueado para templates pausados, não `updateCartTemplate`.\n- **Falha ao limpar a opção de frete do template excluído é best-effort e não é reportada ao cliente.** Ao excluir o template (`isDeleted: true`), se a Unbox não conseguir limpar a opção de frete específica vinculada a ele, o erro (`COULD_NOT_DELETE_CART_TEMPLATE_FULFILLMENT_OPTION_MODIFIER_ERROR`) é apenas logado internamente (`Logger.error`) — **nunca** aparece em `errors[]` da resposta. O template é excluído normalmente mesmo assim; nenhuma ação necessária de sua parte."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"updateCartTemplate\": {\n      \"_id\": \"Example_ID\",\n      \"referenceId\": \"Example_String\",\n      \"type\": \"Example_String\",\n      \"shopId\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"title\": \"Example_String\",\n      \"createdBy\": \"Example_String\",\n      \"updatedBy\": \"Example_String\",\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"ordersCount\": 10,\n      \"constraints\": {\n        \"usageLimit\": 10,\n        \"expirationDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": \"ACTIVE\",\n      \"isSoldOut\": true,\n      \"isExpired\": true,\n      \"shipping\": {\n        \"fulfillmentType\": \"SHIPPING\"\n      },\n      \"items\": [\n        {\n          \"quantity\": 1,\n          \"isRecurring\": true,\n          \"isVisible\": true\n        }\n      ],\n      \"discount\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      },\n      \"recurringItemsFrequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"745fddfe-2e9a-4467-a88c-0be9ebcbe676","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCartTemplate($input: UpdateCartTemplateInput) {\n  updateCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplateId\": \"Example_ID\",\n    \"title\": \"Example_String\",\n    \"status\": \"ACTIVE\",\n    \"isDeleted\": true,\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## updateCartTemplate\n\n**Propósito:** Atualiza campos de um template de carrinho existente — título, status, restrições, forma de pagamento e as flags de bloqueio — ou o exclui (soft-delete).\n**Quando usar:** Para pausar/reativar um template (`status`), ajustar seu limite de uso ou data de expiração (`constraints`), ou removê-lo definitivamente da sua lista de templates ativos (`isDeleted: true`). **É uma atualização parcial**: só os campos enviados são alterados; é idempotente para o mesmo conjunto de valores, com uma exceção importante — ver Notas sobre excluir um template já excluído.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartTemplateInput`.\n\n| Nome                             | Tipo                               | Obrigatório | Default | Descrição                                                                                             |\n| -------------------------------- | ---------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------- |\n| `input.cartTemplateId`           | `ID!`                              | Sim         | —       | `_id` do template a atualizar.                                                                        |\n| `input.title`                    | `String`                           | Não         | —       | Novo título.                                                                                          |\n| `input.status`                   | `CartTemplateStatus`               | Não         | —       | `ACTIVE` ou `PAUSED`.                                                                                 |\n| `input.isDeleted`                | `Boolean`                          | Não         | —       | Envie `true` para excluir o template (soft-delete). Ver Notas — não há operação para reverter.        |\n| `input.constraints`              | `CheckoutTemplateConstraintsInput` | Não         | —       | `{ usageLimit: Int, expirationDate: AWSDateTime }`. Envie o objeto completo — ver Notas.              |\n| `input.paymentMethod`            | `PaymentMethodName`                | Não         | —       | Nova forma de pagamento a fixar no template.                                                          |\n| `input.blockPaymentMethodChange` | `Boolean`                          | Não         | —       | Se `true`, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.        |\n| `input.blockApplyDiscountCode`   | `Boolean`                          | Não         | —       | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template. |\n| `input.blockApplyShopSale`       | `Boolean`                          | Não         | —       | Se `true`, promoções da loja não são aplicadas automaticamente.                                       |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos). Quando `isDeleted: true` é enviado, o objeto retornado ainda reflete o estado final do template no momento da exclusão.\n\n### Erros\n\n| Código                                           | Condição                                                                                                            | O que fazer                                                                            |\n| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR` | Não existe template não-excluído com o `cartTemplateId` informado na sua loja (inclui o caso de já estar excluído). | Confira o `cartTemplateId`; um template já excluído não pode ser atualizado novamente. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Enviar `cartTemplateId` ausente, ou um `status` fora de `ACTIVE`/`PAUSED`, retorna um erro de validação com mensagem descritiva, sem `extensions.code` estável.\n\n### Notas\n\n- **Atualização parcial (`$set`), não substituição completa.** Apenas os campos presentes no `input` são alterados — campos omitidos mantêm o valor já salvo no template. Isso vale inclusive para objetos aninhados como `constraints`: enviar `constraints: { usageLimit: 10 }` substitui o objeto `constraints` inteiro (não faz merge campo a campo dentro dele), então inclua todos os subcampos que devem permanecer.\n- **`isDeleted: true` é soft-delete e não é idempotente.** A primeira chamada com `isDeleted: true` exclui o template. Chamar novamente sobre o mesmo `cartTemplateId` falha com `UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR`, porque a busca interna já exclui templates com `isDeleted: true` — trate esse erro como \"já estava excluído\", não necessariamente como falha real.\n- **Não há operação para reverter uma exclusão.** Depois de `isDeleted: true`, o template para de aparecer em `cartTemplate`/`cartTemplates` e não pode mais ser usado em `createCartByTemplate` (`CART_TEMPLATE_NOT_FOUND_ERROR`) nem atualizado novamente.\n- **Templates pausados (`status: PAUSED`) continuam podendo ser atualizados** (incluindo reativados com `status: ACTIVE`) — só `createCartByTemplate` é bloqueado para templates pausados, não `updateCartTemplate`.\n- **Falha ao limpar a opção de frete do template excluído é best-effort e não é reportada ao cliente.** Ao excluir o template (`isDeleted: true`), se a Unbox não conseguir limpar a opção de frete específica vinculada a ele, o erro (`COULD_NOT_DELETE_CART_TEMPLATE_FULFILLMENT_OPTION_MODIFIER_ERROR`) é apenas logado internamente (`Logger.error`) — **nunca** aparece em `errors[]` da resposta. O template é excluído normalmente mesmo assim; nenhuma ação necessária de sua parte."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"f0ec7be6-de4a-4c56-a11f-0ae190745aa4","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateCartTemplate($input: UpdateCartTemplateInput) {\n  updateCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplateId\": \"Example_ID\",\n    \"title\": \"Example_String\",\n    \"status\": \"ACTIVE\",\n    \"isDeleted\": true,\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## updateCartTemplate\n\n**Propósito:** Atualiza campos de um template de carrinho existente — título, status, restrições, forma de pagamento e as flags de bloqueio — ou o exclui (soft-delete).\n**Quando usar:** Para pausar/reativar um template (`status`), ajustar seu limite de uso ou data de expiração (`constraints`), ou removê-lo definitivamente da sua lista de templates ativos (`isDeleted: true`). **É uma atualização parcial**: só os campos enviados são alterados; é idempotente para o mesmo conjunto de valores, com uma exceção importante — ver Notas sobre excluir um template já excluído.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartTemplateInput`.\n\n| Nome                             | Tipo                               | Obrigatório | Default | Descrição                                                                                             |\n| -------------------------------- | ---------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------- |\n| `input.cartTemplateId`           | `ID!`                              | Sim         | —       | `_id` do template a atualizar.                                                                        |\n| `input.title`                    | `String`                           | Não         | —       | Novo título.                                                                                          |\n| `input.status`                   | `CartTemplateStatus`               | Não         | —       | `ACTIVE` ou `PAUSED`.                                                                                 |\n| `input.isDeleted`                | `Boolean`                          | Não         | —       | Envie `true` para excluir o template (soft-delete). Ver Notas — não há operação para reverter.        |\n| `input.constraints`              | `CheckoutTemplateConstraintsInput` | Não         | —       | `{ usageLimit: Int, expirationDate: AWSDateTime }`. Envie o objeto completo — ver Notas.              |\n| `input.paymentMethod`            | `PaymentMethodName`                | Não         | —       | Nova forma de pagamento a fixar no template.                                                          |\n| `input.blockPaymentMethodChange` | `Boolean`                          | Não         | —       | Se `true`, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.        |\n| `input.blockApplyDiscountCode`   | `Boolean`                          | Não         | —       | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template. |\n| `input.blockApplyShopSale`       | `Boolean`                          | Não         | —       | Se `true`, promoções da loja não são aplicadas automaticamente.                                       |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos). Quando `isDeleted: true` é enviado, o objeto retornado ainda reflete o estado final do template no momento da exclusão.\n\n### Erros\n\n| Código                                           | Condição                                                                                                            | O que fazer                                                                            |\n| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR` | Não existe template não-excluído com o `cartTemplateId` informado na sua loja (inclui o caso de já estar excluído). | Confira o `cartTemplateId`; um template já excluído não pode ser atualizado novamente. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Enviar `cartTemplateId` ausente, ou um `status` fora de `ACTIVE`/`PAUSED`, retorna um erro de validação com mensagem descritiva, sem `extensions.code` estável.\n\n### Notas\n\n- **Atualização parcial (`$set`), não substituição completa.** Apenas os campos presentes no `input` são alterados — campos omitidos mantêm o valor já salvo no template. Isso vale inclusive para objetos aninhados como `constraints`: enviar `constraints: { usageLimit: 10 }` substitui o objeto `constraints` inteiro (não faz merge campo a campo dentro dele), então inclua todos os subcampos que devem permanecer.\n- **`isDeleted: true` é soft-delete e não é idempotente.** A primeira chamada com `isDeleted: true` exclui o template. Chamar novamente sobre o mesmo `cartTemplateId` falha com `UNABLE_TO_UPDATE_REQUESTED_CART_TEMPLATE_ERROR`, porque a busca interna já exclui templates com `isDeleted: true` — trate esse erro como \"já estava excluído\", não necessariamente como falha real.\n- **Não há operação para reverter uma exclusão.** Depois de `isDeleted: true`, o template para de aparecer em `cartTemplate`/`cartTemplates` e não pode mais ser usado em `createCartByTemplate` (`CART_TEMPLATE_NOT_FOUND_ERROR`) nem atualizado novamente.\n- **Templates pausados (`status: PAUSED`) continuam podendo ser atualizados** (incluindo reativados com `status: ACTIVE`) — só `createCartByTemplate` é bloqueado para templates pausados, não `updateCartTemplate`.\n- **Falha ao limpar a opção de frete do template excluído é best-effort e não é reportada ao cliente.** Ao excluir o template (`isDeleted: true`), se a Unbox não conseguir limpar a opção de frete específica vinculada a ele, o erro (`COULD_NOT_DELETE_CART_TEMPLATE_FULFILLMENT_OPTION_MODIFIER_ERROR`) é apenas logado internamente (`Logger.error`) — **nunca** aparece em `errors[]` da resposta. O template é excluído normalmente mesmo assim; nenhuma ação necessária de sua parte."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"c2760721-b5e7-51ac-ac0e-b8dd1f5cccbd"},{"name":"[Mutation] createCartTemplate","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns createCartTemplate data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createCartTemplate\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"40608adb-0dc3-57dd-a792-74956393c2f3","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplate($input: CreateCartTemplateInput!) {\n  createCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"shipping\": {\n      \"fulfillmentType\": \"SHIPPING\",\n      \"fulfillmentOptionsIds\": [\n        \"Example_ID\"\n      ],\n      \"shippingValue\": {\n        \"amount\": 99.99,\n        \"currencyCode\": \"BRL\"\n      }\n    },\n    \"cartItems\": [\n      {\n        \"productConfiguration\": {\n          \"productId\": \"{{productId}}\",\n          \"productVariantId\": \"Example_ID\"\n        },\n        \"productKitConfiguration\": {\n          \"productKitId\": \"Example_ID\",\n          \"productKitItemsConfigurations\": [\n            {\n              \"productId\": \"{{productId}}\",\n              \"productVariantId\": \"Example_ID\",\n              \"quantity\": 1\n            }\n          ]\n        },\n        \"quantity\": 1,\n        \"isRecurring\": true\n      }\n    ],\n    \"discountId\": \"{{discountId}}\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"createcarttemplate\">createCartTemplate</h2>\n<p><strong>Propósito:</strong> Cria um template de carrinho — uma configuração reaproveitável de itens, frete, desconto e forma de pagamento — que pode depois virar um carrinho real via <code>createCartByTemplate</code>.\n<strong>Quando usar:</strong> Para montar antecipadamente uma cesta de compra padronizada (ex.: um kit promocional recorrente) que você vai instanciar como carrinho repetidas vezes. <strong>Não é idempotente</strong>: cada chamada cria um template novo com um <code>_id</code>/<code>referenceId</code> próprios, mesmo enviando exatamente os mesmos itens e título.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: CreateCartTemplateInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.title</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Título do template.</td>\n</tr>\n<tr>\n<td><code>input.cartItems</code></td>\n<td><code>[CartTemplateItemsInput!]!</code></td>\n<td>Sim (mín. 1 item)</td>\n<td>—</td>\n<td>Itens do template. Ver tabela abaixo.</td>\n</tr>\n<tr>\n<td><code>input.discountId</code></td>\n<td><code>ID</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>ID de um desconto/código de desconto já existente para vincular ao template.</td>\n</tr>\n<tr>\n<td><code>input.constraints</code></td>\n<td><code>CheckoutTemplateConstraintsInput</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td><code>{ usageLimit: Int, expirationDate: AWSDateTime }</code>.</td>\n</tr>\n<tr>\n<td><code>input.shipping</code></td>\n<td><code>CartTemplateShippingInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Ver tabela abaixo. Se omitido, o template é criado sem regra de frete específica.</td>\n</tr>\n<tr>\n<td><code>input.recurringItemsFrequencyId</code></td>\n<td><code>String</code></td>\n<td>Sim, se algum item de <code>cartItems</code> tiver <code>isRecurring: true</code>; proibido caso contrário</td>\n<td>—</td>\n<td>ID de uma frequência de recorrência permitida pela loja. Ver Erros.</td>\n</tr>\n<tr>\n<td><code>input.paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Forma de pagamento a fixar no template.</td>\n</tr>\n<tr>\n<td><code>input.blockPaymentMethodChange</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Se <code>true</code>, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.</td>\n</tr>\n<tr>\n<td><code>input.blockApplyDiscountCode</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Se <code>true</code>, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template.</td>\n</tr>\n<tr>\n<td><code>input.blockApplyShopSale</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Se <code>true</code>, promoções da loja não são aplicadas automaticamente.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-inputcartitems-carttemplateitemsinput\">Campos de <code>input.cartItems[]</code> (<code>CartTemplateItemsInput</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productConfiguration</code></td>\n<td><code>ProductConfigurationInput</code></td>\n<td>Exatamente um entre este e <code>productKitConfiguration</code></td>\n<td><code>{ productId: ID!, productVariantId: ID! }</code> — produto simples.</td>\n</tr>\n<tr>\n<td><code>productKitConfiguration</code></td>\n<td><code>ItemKitConfigurationInput</code></td>\n<td>Exatamente um entre este e <code>productConfiguration</code></td>\n<td>Configuração de um kit de produtos (componentes e variantes escolhidos).</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>Int</code></td>\n<td>Sim para produto simples; opcional para kit (kits usam quantidade 1)</td>\n<td>Quantidade do item; deve ser inteiro ≥ 1 para produto simples. Para item de kit, se enviado, deve ser <strong>1</strong> — outros valores são <strong>rejeitados na validação</strong> (não são silenciosamente ignorados).</td>\n</tr>\n<tr>\n<td><code>isRecurring</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>Marca este item como recorrente. Ver a regra de <code>recurringItemsFrequencyId</code>.</td>\n</tr>\n<tr>\n<td><code>isVisible</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>Controla se o item aparece como visível no carrinho gerado.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-inputshipping-carttemplateshippinginput\">Campos de <code>input.shipping</code> (<code>CartTemplateShippingInput</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fulfillmentType</code></td>\n<td><code>FulfillmentType!</code></td>\n<td>Sim</td>\n<td><code>SHIPPING</code> ou <code>NONE</code>.</td>\n</tr>\n<tr>\n<td><code>fulfillmentOptionsIds</code></td>\n<td><code>[ID!]</code></td>\n<td>Proibido se <code>fulfillmentType: NONE</code>; obrigatório (mín. 1) se <code>shippingValue</code> for enviado</td>\n<td>IDs das opções de frete permitidas para este template.</td>\n</tr>\n<tr>\n<td><code>shippingValue</code></td>\n<td><code>MoneyInput</code></td>\n<td>Proibido se <code>fulfillmentType: NONE</code></td>\n<td>Valor fixo de frete, em formato decimal (<code>{ amount: Float!, currencyCode: String! }</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CartTemplate</code> — mesma forma retornada pela query <code>cartTemplate</code> (ver essa página para a tabela completa de campos, incluindo <code>totalAmount</code> recalculado do catálogo, <code>isSoldOut</code>/<code>isExpired</code> calculados, e itens com produto removido omitidos de <code>items[]</code>).</p>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR</code></td>\n<td>Um <code>productId</code> informado não existe no catálogo da loja.</td>\n<td>Confira os IDs de produto antes de enviar.</td>\n</tr>\n<tr>\n<td><code>PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR</code></td>\n<td>Um <code>productVariantId</code> informado não pertence ao <code>productId</code> informado.</td>\n<td>Confira a combinação produto/variante no catálogo.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_CODE_NOT_FOUND_ERROR</code></td>\n<td><code>discountId</code> não existe ou não está mais ativo.</td>\n<td>Confira se o desconto ainda existe e está habilitado.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_CODE_CONDITION_ERROR</code></td>\n<td>O desconto informado tem condições (valor mínimo, produtos elegíveis etc.) que os <code>cartItems</code> não atendem.</td>\n<td>Ajuste os itens ou escolha outro desconto.</td>\n</tr>\n<tr>\n<td><code>RECURRENCE_FREQUENCY_INVALID_ERROR</code></td>\n<td>Algum item tem <code>isRecurring: true</code>, mas <code>recurringItemsFrequencyId</code> não foi informado.</td>\n<td>Envie um <code>recurringItemsFrequencyId</code> válido junto com itens recorrentes.</td>\n</tr>\n<tr>\n<td><code>NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR</code></td>\n<td><code>recurringItemsFrequencyId</code> foi informado, mas nenhum item tem <code>isRecurring: true</code>.</td>\n<td>Marque ao menos um item como <code>isRecurring: true</code>, ou remova <code>recurringItemsFrequencyId</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Campos obrigatórios ausentes ou fora de regra (ex.: <code>cartItems</code> vazio, item enviando <code>productConfiguration</code> <strong>e</strong> <code>productKitConfiguration</code> ao mesmo tempo) retornam um erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável — verifique sempre <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não é idempotente.</strong> Não há deduplicação por título nem por conjunto de itens — cada chamada cria um novo template com <code>_id</code>/<code>referenceId</code> próprios.</li>\n<li><strong><code>productConfiguration</code> e <code>productKitConfiguration</code> são mutuamente exclusivos por item</strong> — enviar os dois (ou nenhum) no mesmo item de <code>cartItems</code> é rejeitado na validação.</li>\n<li><strong><code>referenceId</code> é gerado automaticamente pela Unbox</strong>, único por loja — não é um campo que você define.</li>\n<li>O template criado começa sempre com <code>status: ACTIVE</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"195820a2-bcec-402a-9060-9744cb9bce8b","name":"200 - createCartTemplate","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplate($input: CreateCartTemplateInput!) {\n  createCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"shipping\": {\n      \"fulfillmentType\": \"SHIPPING\",\n      \"fulfillmentOptionsIds\": [\n        \"Example_ID\"\n      ],\n      \"shippingValue\": {\n        \"amount\": 99.99,\n        \"currencyCode\": \"BRL\"\n      }\n    },\n    \"cartItems\": [\n      {\n        \"productConfiguration\": {\n          \"productId\": \"{{productId}}\",\n          \"productVariantId\": \"Example_ID\"\n        },\n        \"productKitConfiguration\": {\n          \"productKitId\": \"Example_ID\",\n          \"productKitItemsConfigurations\": [\n            {\n              \"productId\": \"{{productId}}\",\n              \"productVariantId\": \"Example_ID\",\n              \"quantity\": 1\n            }\n          ]\n        },\n        \"quantity\": 1,\n        \"isRecurring\": true\n      }\n    ],\n    \"discountId\": \"{{discountId}}\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createCartTemplate\n\n**Propósito:** Cria um template de carrinho — uma configuração reaproveitável de itens, frete, desconto e forma de pagamento — que pode depois virar um carrinho real via `createCartByTemplate`.\n**Quando usar:** Para montar antecipadamente uma cesta de compra padronizada (ex.: um kit promocional recorrente) que você vai instanciar como carrinho repetidas vezes. **Não é idempotente**: cada chamada cria um template novo com um `_id`/`referenceId` próprios, mesmo enviando exatamente os mesmos itens e título.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartTemplateInput!`.\n\n| Nome                              | Tipo                               | Obrigatório                                                                          | Default | Descrição                                                                                             |\n| --------------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ | ------- | ----------------------------------------------------------------------------------------------------- |\n| `input.title`                     | `String!`                          | Sim                                                                                  | —       | Título do template.                                                                                   |\n| `input.cartItems`                 | `[CartTemplateItemsInput!]!`       | Sim (mín. 1 item)                                                                    | —       | Itens do template. Ver tabela abaixo.                                                                 |\n| `input.discountId`                | `ID`                               | Não                                                                                  | `null`  | ID de um desconto/código de desconto já existente para vincular ao template.                          |\n| `input.constraints`               | `CheckoutTemplateConstraintsInput` | Não                                                                                  | `null`  | `{ usageLimit: Int, expirationDate: AWSDateTime }`.                                                   |\n| `input.shipping`                  | `CartTemplateShippingInput`        | Não                                                                                  | —       | Ver tabela abaixo. Se omitido, o template é criado sem regra de frete específica.                     |\n| `input.recurringItemsFrequencyId` | `String`                           | Sim, se algum item de `cartItems` tiver `isRecurring: true`; proibido caso contrário | —       | ID de uma frequência de recorrência permitida pela loja. Ver Erros.                                   |\n| `input.paymentMethod`             | `PaymentMethodName`                | Não                                                                                  | —       | Forma de pagamento a fixar no template.                                                               |\n| `input.blockPaymentMethodChange`  | `Boolean`                          | Não                                                                                  | `false` | Se `true`, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.        |\n| `input.blockApplyDiscountCode`    | `Boolean`                          | Não                                                                                  | `false` | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template. |\n| `input.blockApplyShopSale`        | `Boolean`                          | Não                                                                                  | `false` | Se `true`, promoções da loja não são aplicadas automaticamente.                                       |\n\n#### Campos de `input.cartItems[]` (`CartTemplateItemsInput`)\n\n| Nome                      | Tipo                        | Obrigatório                                                          | Descrição                                                                                                                                                                                         |\n| ------------------------- | --------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `productConfiguration`    | `ProductConfigurationInput` | Exatamente um entre este e `productKitConfiguration`                 | `{ productId: ID!, productVariantId: ID! }` — produto simples.                                                                                                                                    |\n| `productKitConfiguration` | `ItemKitConfigurationInput` | Exatamente um entre este e `productConfiguration`                    | Configuração de um kit de produtos (componentes e variantes escolhidos).                                                                                                                          |\n| `quantity`                | `Int`                       | Sim para produto simples; opcional para kit (kits usam quantidade 1) | Quantidade do item; deve ser inteiro ≥ 1 para produto simples. Para item de kit, se enviado, deve ser **1** — outros valores são **rejeitados na validação** (não são silenciosamente ignorados). |\n| `isRecurring`             | `Boolean`                   | Não                                                                  | Marca este item como recorrente. Ver a regra de `recurringItemsFrequencyId`.                                                                                                                      |\n| `isVisible`               | `Boolean`                   | Não                                                                  | Controla se o item aparece como visível no carrinho gerado.                                                                                                                                       |\n\n#### Campos de `input.shipping` (`CartTemplateShippingInput`)\n\n| Nome                    | Tipo               | Obrigatório                                                                              | Descrição                                                                              |\n| ----------------------- | ------------------ | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `fulfillmentType`       | `FulfillmentType!` | Sim                                                                                      | `SHIPPING` ou `NONE`.                                                                  |\n| `fulfillmentOptionsIds` | `[ID!]`            | Proibido se `fulfillmentType: NONE`; obrigatório (mín. 1) se `shippingValue` for enviado | IDs das opções de frete permitidas para este template.                                 |\n| `shippingValue`         | `MoneyInput`       | Proibido se `fulfillmentType: NONE`                                                      | Valor fixo de frete, em formato decimal (`{ amount: Float!, currencyCode: String! }`). |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos, incluindo `totalAmount` recalculado do catálogo, `isSoldOut`/`isExpired` calculados, e itens com produto removido omitidos de `items[]`).\n\n### Erros\n\n| Código                                          | Condição                                                                                                   | O que fazer                                                                              |\n| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| `CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR`     | Um `productId` informado não existe no catálogo da loja.                                                   | Confira os IDs de produto antes de enviar.                                               |\n| `PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR` | Um `productVariantId` informado não pertence ao `productId` informado.                                     | Confira a combinação produto/variante no catálogo.                                       |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                 | `discountId` não existe ou não está mais ativo.                                                            | Confira se o desconto ainda existe e está habilitado.                                    |\n| `DISCOUNT_CODE_CONDITION_ERROR`                 | O desconto informado tem condições (valor mínimo, produtos elegíveis etc.) que os `cartItems` não atendem. | Ajuste os itens ou escolha outro desconto.                                               |\n| `RECURRENCE_FREQUENCY_INVALID_ERROR`            | Algum item tem `isRecurring: true`, mas `recurringItemsFrequencyId` não foi informado.                     | Envie um `recurringItemsFrequencyId` válido junto com itens recorrentes.                 |\n| `NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR`      | `recurringItemsFrequencyId` foi informado, mas nenhum item tem `isRecurring: true`.                        | Marque ao menos um item como `isRecurring: true`, ou remova `recurringItemsFrequencyId`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Campos obrigatórios ausentes ou fora de regra (ex.: `cartItems` vazio, item enviando `productConfiguration` **e** `productKitConfiguration` ao mesmo tempo) retornam um erro de validação com mensagem descritiva, sem `extensions.code` estável — verifique sempre `message`.\n\n### Notas\n\n- **Não é idempotente.** Não há deduplicação por título nem por conjunto de itens — cada chamada cria um novo template com `_id`/`referenceId` próprios.\n- **`productConfiguration` e `productKitConfiguration` são mutuamente exclusivos por item** — enviar os dois (ou nenhum) no mesmo item de `cartItems` é rejeitado na validação.\n- **`referenceId` é gerado automaticamente pela Unbox**, único por loja — não é um campo que você define.\n- O template criado começa sempre com `status: ACTIVE`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createCartTemplate\": {\n      \"_id\": \"Example_ID\",\n      \"referenceId\": \"Example_String\",\n      \"type\": \"Example_String\",\n      \"shopId\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"title\": \"Example_String\",\n      \"createdBy\": \"Example_String\",\n      \"updatedBy\": \"Example_String\",\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"ordersCount\": 10,\n      \"constraints\": {\n        \"usageLimit\": 10,\n        \"expirationDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": \"ACTIVE\",\n      \"isSoldOut\": true,\n      \"isExpired\": true,\n      \"shipping\": {\n        \"fulfillmentType\": \"SHIPPING\"\n      },\n      \"items\": [\n        {\n          \"quantity\": 1,\n          \"isRecurring\": true,\n          \"isVisible\": true\n        }\n      ],\n      \"discount\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      },\n      \"recurringItemsFrequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"72aee682-7de5-462b-b4c5-61cf37b6b217","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplate($input: CreateCartTemplateInput!) {\n  createCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"shipping\": {\n      \"fulfillmentType\": \"SHIPPING\",\n      \"fulfillmentOptionsIds\": [\n        \"Example_ID\"\n      ],\n      \"shippingValue\": {\n        \"amount\": 99.99,\n        \"currencyCode\": \"BRL\"\n      }\n    },\n    \"cartItems\": [\n      {\n        \"productConfiguration\": {\n          \"productId\": \"{{productId}}\",\n          \"productVariantId\": \"Example_ID\"\n        },\n        \"productKitConfiguration\": {\n          \"productKitId\": \"Example_ID\",\n          \"productKitItemsConfigurations\": [\n            {\n              \"productId\": \"{{productId}}\",\n              \"productVariantId\": \"Example_ID\",\n              \"quantity\": 1\n            }\n          ]\n        },\n        \"quantity\": 1,\n        \"isRecurring\": true\n      }\n    ],\n    \"discountId\": \"{{discountId}}\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createCartTemplate\n\n**Propósito:** Cria um template de carrinho — uma configuração reaproveitável de itens, frete, desconto e forma de pagamento — que pode depois virar um carrinho real via `createCartByTemplate`.\n**Quando usar:** Para montar antecipadamente uma cesta de compra padronizada (ex.: um kit promocional recorrente) que você vai instanciar como carrinho repetidas vezes. **Não é idempotente**: cada chamada cria um template novo com um `_id`/`referenceId` próprios, mesmo enviando exatamente os mesmos itens e título.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartTemplateInput!`.\n\n| Nome                              | Tipo                               | Obrigatório                                                                          | Default | Descrição                                                                                             |\n| --------------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ | ------- | ----------------------------------------------------------------------------------------------------- |\n| `input.title`                     | `String!`                          | Sim                                                                                  | —       | Título do template.                                                                                   |\n| `input.cartItems`                 | `[CartTemplateItemsInput!]!`       | Sim (mín. 1 item)                                                                    | —       | Itens do template. Ver tabela abaixo.                                                                 |\n| `input.discountId`                | `ID`                               | Não                                                                                  | `null`  | ID de um desconto/código de desconto já existente para vincular ao template.                          |\n| `input.constraints`               | `CheckoutTemplateConstraintsInput` | Não                                                                                  | `null`  | `{ usageLimit: Int, expirationDate: AWSDateTime }`.                                                   |\n| `input.shipping`                  | `CartTemplateShippingInput`        | Não                                                                                  | —       | Ver tabela abaixo. Se omitido, o template é criado sem regra de frete específica.                     |\n| `input.recurringItemsFrequencyId` | `String`                           | Sim, se algum item de `cartItems` tiver `isRecurring: true`; proibido caso contrário | —       | ID de uma frequência de recorrência permitida pela loja. Ver Erros.                                   |\n| `input.paymentMethod`             | `PaymentMethodName`                | Não                                                                                  | —       | Forma de pagamento a fixar no template.                                                               |\n| `input.blockPaymentMethodChange`  | `Boolean`                          | Não                                                                                  | `false` | Se `true`, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.        |\n| `input.blockApplyDiscountCode`    | `Boolean`                          | Não                                                                                  | `false` | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template. |\n| `input.blockApplyShopSale`        | `Boolean`                          | Não                                                                                  | `false` | Se `true`, promoções da loja não são aplicadas automaticamente.                                       |\n\n#### Campos de `input.cartItems[]` (`CartTemplateItemsInput`)\n\n| Nome                      | Tipo                        | Obrigatório                                                          | Descrição                                                                                                                                                                                         |\n| ------------------------- | --------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `productConfiguration`    | `ProductConfigurationInput` | Exatamente um entre este e `productKitConfiguration`                 | `{ productId: ID!, productVariantId: ID! }` — produto simples.                                                                                                                                    |\n| `productKitConfiguration` | `ItemKitConfigurationInput` | Exatamente um entre este e `productConfiguration`                    | Configuração de um kit de produtos (componentes e variantes escolhidos).                                                                                                                          |\n| `quantity`                | `Int`                       | Sim para produto simples; opcional para kit (kits usam quantidade 1) | Quantidade do item; deve ser inteiro ≥ 1 para produto simples. Para item de kit, se enviado, deve ser **1** — outros valores são **rejeitados na validação** (não são silenciosamente ignorados). |\n| `isRecurring`             | `Boolean`                   | Não                                                                  | Marca este item como recorrente. Ver a regra de `recurringItemsFrequencyId`.                                                                                                                      |\n| `isVisible`               | `Boolean`                   | Não                                                                  | Controla se o item aparece como visível no carrinho gerado.                                                                                                                                       |\n\n#### Campos de `input.shipping` (`CartTemplateShippingInput`)\n\n| Nome                    | Tipo               | Obrigatório                                                                              | Descrição                                                                              |\n| ----------------------- | ------------------ | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `fulfillmentType`       | `FulfillmentType!` | Sim                                                                                      | `SHIPPING` ou `NONE`.                                                                  |\n| `fulfillmentOptionsIds` | `[ID!]`            | Proibido se `fulfillmentType: NONE`; obrigatório (mín. 1) se `shippingValue` for enviado | IDs das opções de frete permitidas para este template.                                 |\n| `shippingValue`         | `MoneyInput`       | Proibido se `fulfillmentType: NONE`                                                      | Valor fixo de frete, em formato decimal (`{ amount: Float!, currencyCode: String! }`). |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos, incluindo `totalAmount` recalculado do catálogo, `isSoldOut`/`isExpired` calculados, e itens com produto removido omitidos de `items[]`).\n\n### Erros\n\n| Código                                          | Condição                                                                                                   | O que fazer                                                                              |\n| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| `CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR`     | Um `productId` informado não existe no catálogo da loja.                                                   | Confira os IDs de produto antes de enviar.                                               |\n| `PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR` | Um `productVariantId` informado não pertence ao `productId` informado.                                     | Confira a combinação produto/variante no catálogo.                                       |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                 | `discountId` não existe ou não está mais ativo.                                                            | Confira se o desconto ainda existe e está habilitado.                                    |\n| `DISCOUNT_CODE_CONDITION_ERROR`                 | O desconto informado tem condições (valor mínimo, produtos elegíveis etc.) que os `cartItems` não atendem. | Ajuste os itens ou escolha outro desconto.                                               |\n| `RECURRENCE_FREQUENCY_INVALID_ERROR`            | Algum item tem `isRecurring: true`, mas `recurringItemsFrequencyId` não foi informado.                     | Envie um `recurringItemsFrequencyId` válido junto com itens recorrentes.                 |\n| `NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR`      | `recurringItemsFrequencyId` foi informado, mas nenhum item tem `isRecurring: true`.                        | Marque ao menos um item como `isRecurring: true`, ou remova `recurringItemsFrequencyId`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Campos obrigatórios ausentes ou fora de regra (ex.: `cartItems` vazio, item enviando `productConfiguration` **e** `productKitConfiguration` ao mesmo tempo) retornam um erro de validação com mensagem descritiva, sem `extensions.code` estável — verifique sempre `message`.\n\n### Notas\n\n- **Não é idempotente.** Não há deduplicação por título nem por conjunto de itens — cada chamada cria um novo template com `_id`/`referenceId` próprios.\n- **`productConfiguration` e `productKitConfiguration` são mutuamente exclusivos por item** — enviar os dois (ou nenhum) no mesmo item de `cartItems` é rejeitado na validação.\n- **`referenceId` é gerado automaticamente pela Unbox**, único por loja — não é um campo que você define.\n- O template criado começa sempre com `status: ACTIVE`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"b31fbeb8-66b3-4662-9cb7-f370e5b17152","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateCartTemplate($input: CreateCartTemplateInput!) {\n  createCartTemplate(input: $input) {\n    _id\n    referenceId\n    type\n    shopId\n    createdAt\n    updatedAt\n    title\n    createdBy\n    updatedBy\n    totalAmount {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    ordersCount\n    constraints {\n      usageLimit\n      expirationDate\n    }\n    status\n    isSoldOut\n    isExpired\n    shipping {\n      fulfillmentType\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      shippingValue {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    items {\n      quantity\n      product {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            slug\n            imageUrls\n          }\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n      variant {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      isRecurring\n      isVisible\n    }\n    discount {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    recurringItemsFrequency {\n      _id\n      title\n      periodicity\n      interval\n    }\n    paymentMethod\n    blockPaymentMethodChange\n    blockApplyDiscountCode\n    blockApplyShopSale\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"shipping\": {\n      \"fulfillmentType\": \"SHIPPING\",\n      \"fulfillmentOptionsIds\": [\n        \"Example_ID\"\n      ],\n      \"shippingValue\": {\n        \"amount\": 99.99,\n        \"currencyCode\": \"BRL\"\n      }\n    },\n    \"cartItems\": [\n      {\n        \"productConfiguration\": {\n          \"productId\": \"{{productId}}\",\n          \"productVariantId\": \"Example_ID\"\n        },\n        \"productKitConfiguration\": {\n          \"productKitId\": \"Example_ID\",\n          \"productKitItemsConfigurations\": [\n            {\n              \"productId\": \"{{productId}}\",\n              \"productVariantId\": \"Example_ID\",\n              \"quantity\": 1\n            }\n          ]\n        },\n        \"quantity\": 1,\n        \"isRecurring\": true\n      }\n    ],\n    \"discountId\": \"{{discountId}}\",\n    \"recurringItemsFrequencyId\": \"Example_String\",\n    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createCartTemplate\n\n**Propósito:** Cria um template de carrinho — uma configuração reaproveitável de itens, frete, desconto e forma de pagamento — que pode depois virar um carrinho real via `createCartByTemplate`.\n**Quando usar:** Para montar antecipadamente uma cesta de compra padronizada (ex.: um kit promocional recorrente) que você vai instanciar como carrinho repetidas vezes. **Não é idempotente**: cada chamada cria um template novo com um `_id`/`referenceId` próprios, mesmo enviando exatamente os mesmos itens e título.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartTemplateInput!`.\n\n| Nome                              | Tipo                               | Obrigatório                                                                          | Default | Descrição                                                                                             |\n| --------------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ | ------- | ----------------------------------------------------------------------------------------------------- |\n| `input.title`                     | `String!`                          | Sim                                                                                  | —       | Título do template.                                                                                   |\n| `input.cartItems`                 | `[CartTemplateItemsInput!]!`       | Sim (mín. 1 item)                                                                    | —       | Itens do template. Ver tabela abaixo.                                                                 |\n| `input.discountId`                | `ID`                               | Não                                                                                  | `null`  | ID de um desconto/código de desconto já existente para vincular ao template.                          |\n| `input.constraints`               | `CheckoutTemplateConstraintsInput` | Não                                                                                  | `null`  | `{ usageLimit: Int, expirationDate: AWSDateTime }`.                                                   |\n| `input.shipping`                  | `CartTemplateShippingInput`        | Não                                                                                  | —       | Ver tabela abaixo. Se omitido, o template é criado sem regra de frete específica.                     |\n| `input.recurringItemsFrequencyId` | `String`                           | Sim, se algum item de `cartItems` tiver `isRecurring: true`; proibido caso contrário | —       | ID de uma frequência de recorrência permitida pela loja. Ver Erros.                                   |\n| `input.paymentMethod`             | `PaymentMethodName`                | Não                                                                                  | —       | Forma de pagamento a fixar no template.                                                               |\n| `input.blockPaymentMethodChange`  | `Boolean`                          | Não                                                                                  | `false` | Se `true`, carrinhos criados a partir deste template não permitem trocar a forma de pagamento.        |\n| `input.blockApplyDiscountCode`    | `Boolean`                          | Não                                                                                  | `false` | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir deste template. |\n| `input.blockApplyShopSale`        | `Boolean`                          | Não                                                                                  | `false` | Se `true`, promoções da loja não são aplicadas automaticamente.                                       |\n\n#### Campos de `input.cartItems[]` (`CartTemplateItemsInput`)\n\n| Nome                      | Tipo                        | Obrigatório                                                          | Descrição                                                                                                                                                                                         |\n| ------------------------- | --------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `productConfiguration`    | `ProductConfigurationInput` | Exatamente um entre este e `productKitConfiguration`                 | `{ productId: ID!, productVariantId: ID! }` — produto simples.                                                                                                                                    |\n| `productKitConfiguration` | `ItemKitConfigurationInput` | Exatamente um entre este e `productConfiguration`                    | Configuração de um kit de produtos (componentes e variantes escolhidos).                                                                                                                          |\n| `quantity`                | `Int`                       | Sim para produto simples; opcional para kit (kits usam quantidade 1) | Quantidade do item; deve ser inteiro ≥ 1 para produto simples. Para item de kit, se enviado, deve ser **1** — outros valores são **rejeitados na validação** (não são silenciosamente ignorados). |\n| `isRecurring`             | `Boolean`                   | Não                                                                  | Marca este item como recorrente. Ver a regra de `recurringItemsFrequencyId`.                                                                                                                      |\n| `isVisible`               | `Boolean`                   | Não                                                                  | Controla se o item aparece como visível no carrinho gerado.                                                                                                                                       |\n\n#### Campos de `input.shipping` (`CartTemplateShippingInput`)\n\n| Nome                    | Tipo               | Obrigatório                                                                              | Descrição                                                                              |\n| ----------------------- | ------------------ | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `fulfillmentType`       | `FulfillmentType!` | Sim                                                                                      | `SHIPPING` ou `NONE`.                                                                  |\n| `fulfillmentOptionsIds` | `[ID!]`            | Proibido se `fulfillmentType: NONE`; obrigatório (mín. 1) se `shippingValue` for enviado | IDs das opções de frete permitidas para este template.                                 |\n| `shippingValue`         | `MoneyInput`       | Proibido se `fulfillmentType: NONE`                                                      | Valor fixo de frete, em formato decimal (`{ amount: Float!, currencyCode: String! }`). |\n\n### Retorno\n\n`CartTemplate` — mesma forma retornada pela query `cartTemplate` (ver essa página para a tabela completa de campos, incluindo `totalAmount` recalculado do catálogo, `isSoldOut`/`isExpired` calculados, e itens com produto removido omitidos de `items[]`).\n\n### Erros\n\n| Código                                          | Condição                                                                                                   | O que fazer                                                                              |\n| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| `CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR`     | Um `productId` informado não existe no catálogo da loja.                                                   | Confira os IDs de produto antes de enviar.                                               |\n| `PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR` | Um `productVariantId` informado não pertence ao `productId` informado.                                     | Confira a combinação produto/variante no catálogo.                                       |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                 | `discountId` não existe ou não está mais ativo.                                                            | Confira se o desconto ainda existe e está habilitado.                                    |\n| `DISCOUNT_CODE_CONDITION_ERROR`                 | O desconto informado tem condições (valor mínimo, produtos elegíveis etc.) que os `cartItems` não atendem. | Ajuste os itens ou escolha outro desconto.                                               |\n| `RECURRENCE_FREQUENCY_INVALID_ERROR`            | Algum item tem `isRecurring: true`, mas `recurringItemsFrequencyId` não foi informado.                     | Envie um `recurringItemsFrequencyId` válido junto com itens recorrentes.                 |\n| `NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR`      | `recurringItemsFrequencyId` foi informado, mas nenhum item tem `isRecurring: true`.                        | Marque ao menos um item como `isRecurring: true`, ou remova `recurringItemsFrequencyId`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Campos obrigatórios ausentes ou fora de regra (ex.: `cartItems` vazio, item enviando `productConfiguration` **e** `productKitConfiguration` ao mesmo tempo) retornam um erro de validação com mensagem descritiva, sem `extensions.code` estável — verifique sempre `message`.\n\n### Notas\n\n- **Não é idempotente.** Não há deduplicação por título nem por conjunto de itens — cada chamada cria um novo template com `_id`/`referenceId` próprios.\n- **`productConfiguration` e `productKitConfiguration` são mutuamente exclusivos por item** — enviar os dois (ou nenhum) no mesmo item de `cartItems` é rejeitado na validação.\n- **`referenceId` é gerado automaticamente pela Unbox**, único por loja — não é um campo que você define.\n- O template criado começa sempre com `status: ACTIVE`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"40608adb-0dc3-57dd-a792-74956393c2f3"}],"id":"1b77eea3-80a5-4ae6-a1d3-ad93eb8b39b6","_postman_id":"1b77eea3-80a5-4ae6-a1d3-ad93eb8b39b6","description":""}],"id":"7f9d5da8-9943-4892-84f3-9f4c63b053c5","description":"<h1 id=\"carrinhos-e-links-de-pagamento\">Carrinhos e Links de Pagamento</h1>\n<p>Operações para trabalhar com <strong>carrinhos</strong>, <strong>templates de carrinho</strong> e <strong>links de pagamento</strong>. É o fluxo alternativo ao <code>createExternalCheckout</code> (folder \"External Checkout\") para quem monta o carrinho em etapas ou reaproveita configurações via templates.</p>\n<h2 id=\"conceitos\">Conceitos</h2>\n<ul>\n<li><strong>Payment link</strong> (<code>paymentLink</code>, <code>paymentLinks</code>): o link de checkout hospedado pela Unbox. É o mesmo recurso gerado por <code>createExternalCheckout</code> — use <code>paymentLinks</code> para <strong>acompanhar</strong> os links criados (status, valores, URL).</li>\n<li><strong>Cart template</strong> (<code>cartTemplate</code>, <code>cartTemplates</code>, <code>createCartTemplate</code>, <code>createCartTemplateFromCart</code>, <code>updateCartTemplate</code>): um modelo reutilizável de carrinho (itens, descontos, configurações de entrega) a partir do qual carrinhos concretos são criados.</li>\n<li><strong>Carrinho</strong> (<code>createCartByTemplate</code>, <code>updateCart</code>): a instância concreta de compra, criada a partir de um template.</li>\n</ul>\n<h2 id=\"paginação\">Paginação</h2>\n<p>As listagens (<code>paymentLinks</code>, <code>cartTemplates</code>) usam paginação no padrão Relay: <code>after</code>/<code>before</code> (cursores, <code>String</code>), <code>first</code>/<code>last</code>/<code>offset</code> (<code>Int</code>), <code>sortOrder</code> e <code>sortBy</code>. A resposta traz <code>edges</code>/<code>nodes</code>, <code>pageInfo</code> (<code>hasNextPage</code>/<code>hasPreviousPage</code>/cursores) e <code>totalCount</code>.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong><code>createCartByTemplate</code> não é idempotente:</strong> cada chamada cria um novo carrinho. Diferente das demais operações desta API, ela pede <code>shopId</code> <strong>explicitamente</strong> no input (não é derivado do token) — veja a documentação da operação.</li>\n<li>Erros de negócio seguem o padrão GraphQL (HTTP 200 + <code>errors[]</code>); campos obrigatórios ausentes retornam erro de validação com mensagem descritiva.</li>\n</ul>\n","_postman_id":"7f9d5da8-9943-4892-84f3-9f4c63b053c5"},{"name":"Catalogs","item":[{"name":"Query","item":[{"name":"[Query] productGroup","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns productGroup data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"productGroup\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"productGroup returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.productGroup;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.label !== undefined && data.label !== null) {","            pm.expect(typeof data.label).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"productId\");","        if (data.productId !== undefined && data.productId !== null) {","            pm.expect(typeof data.productId).to.equal(\"string\");","        }","        if (data.erpCode !== undefined && data.erpCode !== null) {","            pm.expect(typeof data.erpCode).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"shopId\");","        if (data.shopId !== undefined && data.shopId !== null) {","            pm.expect(typeof data.shopId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"isActive\");","        if (data.isActive !== undefined && data.isActive !== null) {","            pm.expect(typeof data.isActive).to.equal(\"boolean\");","        }","        if (data.linkedProducts !== undefined && data.linkedProducts !== null) {","            pm.expect(data.linkedProducts).to.be.an(\"array\");","        }","    }","});"]}}],"id":"b9f5ae1e-08d3-52a5-b65f-621d22511137","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroup($input: ProductGroupInput!) {\n  productGroup(input: $input) {\n    _id\n    label\n    productId\n    erpCode\n    shopId\n    isActive\n    linkedProducts {\n      erpCode\n      productId\n      title\n      label\n      slug\n      imageUrls\n      catalog {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"productId\": \"{{productId}}\",\n    \"erpCode\": \"Example_String\",\n    \"includeInvalidLinkedProducts\": \"https://exemplo.com\",\n    \"includeSoldOutProducts\": true\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"productgroup\">productGroup</h2>\n<p><strong>Propósito:</strong> Busca o grupo de produtos vinculados ao produto informado, identificado por <code>productId</code> ou <code>erpCode</code>.\n<strong>Quando usar:</strong> Ao exibir um produto, para descobrir quais outros produtos do catálogo foram cadastrados como opções relacionadas a ele (ex.: variações vendidas como produtos separados) e montar um seletor ou lista de alternativas. Retorna <code>null</code> (não é erro) quando não existe grupo ativo para o produto informado.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O <code>shopId</code> é injetado a partir do seu token — não envie esse argumento.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: ProductGroupInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.productId</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>ID do produto que representa o grupo. Envie exatamente um entre <code>productId</code> e <code>erpCode</code> (ver Notas).</td>\n</tr>\n<tr>\n<td><code>input.erpCode</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Código ERP do produto que representa o grupo. Envie exatamente um entre <code>productId</code> e <code>erpCode</code> (ver Notas).</td>\n</tr>\n<tr>\n<td><code>input.includeInvalidLinkedProducts</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Inclui no retorno produtos vinculados cujo catálogo foi excluído ou que estão totalmente esgotados. Ver Notas para o comportamento combinado com <code>includeSoldOutProducts</code>.</td>\n</tr>\n<tr>\n<td><code>input.includeSoldOutProducts</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Quando <code>includeInvalidLinkedProducts</code> não é enviado (comportamento padrão), controla se produtos vinculados totalmente esgotados (todas as variações esgotadas) entram (<code>true</code>) ou não (<code>false</code>) no retorno.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>Um <code>ProductGroup</code>, ou <code>null</code> se não existir grupo ativo para o <code>productId</code>/<code>erpCode</code> informado.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador do grupo.</td>\n</tr>\n<tr>\n<td><code>label</code></td>\n<td><code>String</code></td>\n<td>Nome do grupo, pensado para ser exibido ao comprador na hora de escolher entre as opções.</td>\n</tr>\n<tr>\n<td><code>productId</code></td>\n<td><code>String!</code></td>\n<td>ID do produto que representa/possui o grupo.</td>\n</tr>\n<tr>\n<td><code>erpCode</code></td>\n<td><code>String</code></td>\n<td>Código ERP do produto que representa o grupo, se cadastrado.</td>\n</tr>\n<tr>\n<td><code>shopId</code></td>\n<td><code>String!</code></td>\n<td>ID da sua loja — sempre preenchido no retorno, mesmo que você não envie <code>shopId</code> no argumento.</td>\n</tr>\n<tr>\n<td><code>isActive</code></td>\n<td><code>Boolean!</code></td>\n<td>Sempre <code>true</code> quando a operação retorna um grupo (grupos inativos fazem a operação retornar <code>null</code> em vez do objeto).</td>\n</tr>\n<tr>\n<td><code>linkedProducts</code></td>\n<td><code>[LinkedProduct]!</code></td>\n<td>Produtos vinculados ao grupo. Ver campos abaixo.</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].productId</code></td>\n<td><code>String!</code></td>\n<td>ID do produto vinculado.</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].erpCode</code></td>\n<td><code>String</code></td>\n<td>Código ERP do produto vinculado, se cadastrado.</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].title</code></td>\n<td><code>String!</code></td>\n<td>Título do produto vinculado, congelado no momento em que o vínculo foi criado.</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].label</code></td>\n<td><code>String</code></td>\n<td>Nome para exibição do produto vinculado dentro do grupo (pode diferir de <code>title</code>).</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].slug</code></td>\n<td><code>String!</code></td>\n<td>Slug do produto vinculado, congelado no momento em que o vínculo foi criado.</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].imageUrls</code></td>\n<td><code>[String]</code></td>\n<td>URLs das imagens do produto vinculado, obtidas do catálogo atual.</td>\n</tr>\n<tr>\n<td><code>linkedProducts[].catalog</code></td>\n<td><code>CatalogProduct</code></td>\n<td>Estado atual do produto vinculado no catálogo. <code>null</code> se o produto vinculado foi excluído do catálogo ou nunca existiu.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> enviado sem <code>productId</code> nem <code>erpCode</code>, ou com os dois ao mesmo tempo.</td>\n<td>Erro de validação com mensagem descritiva. Envie exatamente um dos dois.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>A loja da conta autenticada não pôde ser resolvida (<code>SHOP_NOT_FOUND_ERROR</code>).</td>\n<td>Confirme que sua conta está associada a uma loja ativa e que o <code>access_token</code> é válido; se persistir, contate seu contato Unbox.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Estes erros chegam via <code>errors[].message</code> (texto descritivo) e não garantem um <code>extensions.code</code> estável — verifique sempre <code>message</code>. Falhas de autenticação (<code>access_token</code> ausente ou expirado) seguem o padrão geral descrito na Overview.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Envie exatamente um entre <code>productId</code> e <code>erpCode</code>.</strong> Omitir os dois ou enviar os dois ao mesmo tempo é rejeitado na validação.</li>\n<li><strong>Comportamento padrão (sem flags):</strong> o grupo retorna apenas produtos vinculados cujo catálogo existe, não foi excluído e tem ao menos uma variação disponível (não totalmente esgotado).</li>\n<li><strong><code>includeInvalidLinkedProducts: true</code> desliga esse filtro por completo</strong> — o grupo passa a retornar todos os produtos vinculados cadastrados, incluindo os com catálogo excluído ou totalmente esgotados. Nesse modo, <code>includeSoldOutProducts</code> não tem efeito adicional (o filtro de esgotado já está desligado).</li>\n<li><strong><code>linkedProducts[].catalog</code> é resolvido de forma independente dos filtros acima</strong>, item a item. No comportamento padrão isso raramente aparece, pois produtos sem catálogo válido já são removidos de <code>linkedProducts</code> antes de chegar aí; mas com <code>includeInvalidLinkedProducts: true</code> você pode ver itens em <code>linkedProducts</code> cujo <code>catalog</code> vem <code>null</code> (produto removido do catálogo), mesmo com <code>title</code>/<code>slug</code> ainda preenchidos.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cdc3c7ec-7c85-442f-9a73-06cda2846fea","name":"200 - productGroup","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroup($input: ProductGroupInput!) {\n  productGroup(input: $input) {\n    _id\n    label\n    productId\n    erpCode\n    shopId\n    isActive\n    linkedProducts {\n      erpCode\n      productId\n      title\n      label\n      slug\n      imageUrls\n      catalog {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"productId\": \"{{productId}}\",\n    \"erpCode\": \"Example_String\",\n    \"includeInvalidLinkedProducts\": \"https://exemplo.com\",\n    \"includeSoldOutProducts\": true\n  }\n}"}},"url":"{{base_url}}","description":"## productGroup\n\n**Propósito:** Busca o grupo de produtos vinculados ao produto informado, identificado por `productId` ou `erpCode`.\n**Quando usar:** Ao exibir um produto, para descobrir quais outros produtos do catálogo foram cadastrados como opções relacionadas a ele (ex.: variações vendidas como produtos separados) e montar um seletor ou lista de alternativas. Retorna `null` (não é erro) quando não existe grupo ativo para o produto informado.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\nÚnico argumento: `input: ProductGroupInput!`.\n\n| Nome                                 | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                                                                    |\n| ------------------------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input.productId`                    | `String`  | Condicional | —       | ID do produto que representa o grupo. Envie exatamente um entre `productId` e `erpCode` (ver Notas).                                                                                                         |\n| `input.erpCode`                      | `String`  | Condicional | —       | Código ERP do produto que representa o grupo. Envie exatamente um entre `productId` e `erpCode` (ver Notas).                                                                                                 |\n| `input.includeInvalidLinkedProducts` | `Boolean` | Não         | `false` | Inclui no retorno produtos vinculados cujo catálogo foi excluído ou que estão totalmente esgotados. Ver Notas para o comportamento combinado com `includeSoldOutProducts`.                                   |\n| `input.includeSoldOutProducts`       | `Boolean` | Não         | `false` | Quando `includeInvalidLinkedProducts` não é enviado (comportamento padrão), controla se produtos vinculados totalmente esgotados (todas as variações esgotadas) entram (`true`) ou não (`false`) no retorno. |\n\n### Retorno\n\nUm `ProductGroup`, ou `null` se não existir grupo ativo para o `productId`/`erpCode` informado.\n\n| Propriedade                  | Tipo               | Descrição                                                                                                               |\n| ---------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------- |\n| `_id`                        | `ID!`              | Identificador do grupo.                                                                                                 |\n| `label`                      | `String`           | Nome do grupo, pensado para ser exibido ao comprador na hora de escolher entre as opções.                               |\n| `productId`                  | `String!`          | ID do produto que representa/possui o grupo.                                                                            |\n| `erpCode`                    | `String`           | Código ERP do produto que representa o grupo, se cadastrado.                                                            |\n| `shopId`                     | `String!`          | ID da sua loja — sempre preenchido no retorno, mesmo que você não envie `shopId` no argumento.                          |\n| `isActive`                   | `Boolean!`         | Sempre `true` quando a operação retorna um grupo (grupos inativos fazem a operação retornar `null` em vez do objeto).   |\n| `linkedProducts`             | `[LinkedProduct]!` | Produtos vinculados ao grupo. Ver campos abaixo.                                                                        |\n| `linkedProducts[].productId` | `String!`          | ID do produto vinculado.                                                                                                |\n| `linkedProducts[].erpCode`   | `String`           | Código ERP do produto vinculado, se cadastrado.                                                                         |\n| `linkedProducts[].title`     | `String!`          | Título do produto vinculado, congelado no momento em que o vínculo foi criado.                                          |\n| `linkedProducts[].label`     | `String`           | Nome para exibição do produto vinculado dentro do grupo (pode diferir de `title`).                                      |\n| `linkedProducts[].slug`      | `String!`          | Slug do produto vinculado, congelado no momento em que o vínculo foi criado.                                            |\n| `linkedProducts[].imageUrls` | `[String]`         | URLs das imagens do produto vinculado, obtidas do catálogo atual.                                                       |\n| `linkedProducts[].catalog`   | `CatalogProduct`   | Estado atual do produto vinculado no catálogo. `null` se o produto vinculado foi excluído do catálogo ou nunca existiu. |\n\n### Erros\n\n| Código         | Condição                                                                      | O que fazer                                                                                                                      |\n| -------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `input` enviado sem `productId` nem `erpCode`, ou com os dois ao mesmo tempo. | Erro de validação com mensagem descritiva. Envie exatamente um dos dois.                                                         |\n| _(sem código)_ | A loja da conta autenticada não pôde ser resolvida (`SHOP_NOT_FOUND_ERROR`).  | Confirme que sua conta está associada a uma loja ativa e que o `access_token` é válido; se persistir, contate seu contato Unbox. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Estes erros chegam via `errors[].message` (texto descritivo) e não garantem um `extensions.code` estável — verifique sempre `message`. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n### Notas\n\n- **Envie exatamente um entre `productId` e `erpCode`.** Omitir os dois ou enviar os dois ao mesmo tempo é rejeitado na validação.\n- **Comportamento padrão (sem flags):** o grupo retorna apenas produtos vinculados cujo catálogo existe, não foi excluído e tem ao menos uma variação disponível (não totalmente esgotado).\n- **`includeInvalidLinkedProducts: true` desliga esse filtro por completo** — o grupo passa a retornar todos os produtos vinculados cadastrados, incluindo os com catálogo excluído ou totalmente esgotados. Nesse modo, `includeSoldOutProducts` não tem efeito adicional (o filtro de esgotado já está desligado).\n- **`linkedProducts[].catalog` é resolvido de forma independente dos filtros acima**, item a item. No comportamento padrão isso raramente aparece, pois produtos sem catálogo válido já são removidos de `linkedProducts` antes de chegar aí; mas com `includeInvalidLinkedProducts: true` você pode ver itens em `linkedProducts` cujo `catalog` vem `null` (produto removido do catálogo), mesmo com `title`/`slug` ainda preenchidos."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"productGroup\": {\n      \"_id\": \"Example_ID\",\n      \"label\": \"Example_String\",\n      \"productId\": \"Example_String\",\n      \"erpCode\": \"Example_String\",\n      \"shopId\": \"Example_String\",\n      \"isActive\": true,\n      \"linkedProducts\": [\n        {\n          \"erpCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"title\": \"Example_String\",\n          \"label\": \"Example_String\",\n          \"slug\": \"Example_String\",\n          \"imageUrls\": [\n            \"https://exemplo.com\"\n          ]\n        }\n      ]\n    }\n  }\n}"},{"id":"b854c9fc-58b7-4a34-a33c-eb9955c9c3af","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroup($input: ProductGroupInput!) {\n  productGroup(input: $input) {\n    _id\n    label\n    productId\n    erpCode\n    shopId\n    isActive\n    linkedProducts {\n      erpCode\n      productId\n      title\n      label\n      slug\n      imageUrls\n      catalog {\n        _id\n        erpCode\n        barcode\n        createdAt\n        description\n        height\n        isDeleted\n        isVisible\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        originCountry\n        pageTitle\n        parcel {\n          containers\n          distanceUnit\n          height\n          length\n          massUnit\n          weight\n          width\n        }\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        productId\n        type\n        productType\n        recurrenceAllowed\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        title\n        updatedAt\n        variants {\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          quantity\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          variantId\n          productId\n          productERPCode\n          videoUrls\n          weight\n          width\n          canBackorder\n          inventoryAvailableToSell\n          inventoryInStock\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          pricingOnRecurrence {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          isTaxable\n          taxCode\n          taxDescription\n          imageUrls\n        }\n        vendor\n        sortIndex\n        videoUrls\n        weight\n        width\n        additionalInformation\n        measurementsInformation\n        group {\n          label\n        }\n        requiredPicksPerGroup\n        unitPriceLabel\n        titleLabel\n        highlightLabel\n        kitGroupDescription\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingOnRecurrence {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        pricingPerUnit {\n          minCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          maxCompareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n          compareAtPrice\n          displayCompareAtPrice\n        }\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        imageUrls\n      }\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"productId\": \"{{productId}}\",\n    \"erpCode\": \"Example_String\",\n    \"includeInvalidLinkedProducts\": \"https://exemplo.com\",\n    \"includeSoldOutProducts\": true\n  }\n}"}},"url":"{{base_url}}","description":"## productGroup\n\n**Propósito:** Busca o grupo de produtos vinculados ao produto informado, identificado por `productId` ou `erpCode`.\n**Quando usar:** Ao exibir um produto, para descobrir quais outros produtos do catálogo foram cadastrados como opções relacionadas a ele (ex.: variações vendidas como produtos separados) e montar um seletor ou lista de alternativas. Retorna `null` (não é erro) quando não existe grupo ativo para o produto informado.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\nÚnico argumento: `input: ProductGroupInput!`.\n\n| Nome                                 | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                                                                    |\n| ------------------------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input.productId`                    | `String`  | Condicional | —       | ID do produto que representa o grupo. Envie exatamente um entre `productId` e `erpCode` (ver Notas).                                                                                                         |\n| `input.erpCode`                      | `String`  | Condicional | —       | Código ERP do produto que representa o grupo. Envie exatamente um entre `productId` e `erpCode` (ver Notas).                                                                                                 |\n| `input.includeInvalidLinkedProducts` | `Boolean` | Não         | `false` | Inclui no retorno produtos vinculados cujo catálogo foi excluído ou que estão totalmente esgotados. Ver Notas para o comportamento combinado com `includeSoldOutProducts`.                                   |\n| `input.includeSoldOutProducts`       | `Boolean` | Não         | `false` | Quando `includeInvalidLinkedProducts` não é enviado (comportamento padrão), controla se produtos vinculados totalmente esgotados (todas as variações esgotadas) entram (`true`) ou não (`false`) no retorno. |\n\n### Retorno\n\nUm `ProductGroup`, ou `null` se não existir grupo ativo para o `productId`/`erpCode` informado.\n\n| Propriedade                  | Tipo               | Descrição                                                                                                               |\n| ---------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------- |\n| `_id`                        | `ID!`              | Identificador do grupo.                                                                                                 |\n| `label`                      | `String`           | Nome do grupo, pensado para ser exibido ao comprador na hora de escolher entre as opções.                               |\n| `productId`                  | `String!`          | ID do produto que representa/possui o grupo.                                                                            |\n| `erpCode`                    | `String`           | Código ERP do produto que representa o grupo, se cadastrado.                                                            |\n| `shopId`                     | `String!`          | ID da sua loja — sempre preenchido no retorno, mesmo que você não envie `shopId` no argumento.                          |\n| `isActive`                   | `Boolean!`         | Sempre `true` quando a operação retorna um grupo (grupos inativos fazem a operação retornar `null` em vez do objeto).   |\n| `linkedProducts`             | `[LinkedProduct]!` | Produtos vinculados ao grupo. Ver campos abaixo.                                                                        |\n| `linkedProducts[].productId` | `String!`          | ID do produto vinculado.                                                                                                |\n| `linkedProducts[].erpCode`   | `String`           | Código ERP do produto vinculado, se cadastrado.                                                                         |\n| `linkedProducts[].title`     | `String!`          | Título do produto vinculado, congelado no momento em que o vínculo foi criado.                                          |\n| `linkedProducts[].label`     | `String`           | Nome para exibição do produto vinculado dentro do grupo (pode diferir de `title`).                                      |\n| `linkedProducts[].slug`      | `String!`          | Slug do produto vinculado, congelado no momento em que o vínculo foi criado.                                            |\n| `linkedProducts[].imageUrls` | `[String]`         | URLs das imagens do produto vinculado, obtidas do catálogo atual.                                                       |\n| `linkedProducts[].catalog`   | `CatalogProduct`   | Estado atual do produto vinculado no catálogo. `null` se o produto vinculado foi excluído do catálogo ou nunca existiu. |\n\n### Erros\n\n| Código         | Condição                                                                      | O que fazer                                                                                                                      |\n| -------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `input` enviado sem `productId` nem `erpCode`, ou com os dois ao mesmo tempo. | Erro de validação com mensagem descritiva. Envie exatamente um dos dois.                                                         |\n| _(sem código)_ | A loja da conta autenticada não pôde ser resolvida (`SHOP_NOT_FOUND_ERROR`).  | Confirme que sua conta está associada a uma loja ativa e que o `access_token` é válido; se persistir, contate seu contato Unbox. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Estes erros chegam via `errors[].message` (texto descritivo) e não garantem um `extensions.code` estável — verifique sempre `message`. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n### Notas\n\n- **Envie exatamente um entre `productId` e `erpCode`.** Omitir os dois ou enviar os dois ao mesmo tempo é rejeitado na validação.\n- **Comportamento padrão (sem flags):** o grupo retorna apenas produtos vinculados cujo catálogo existe, não foi excluído e tem ao menos uma variação disponível (não totalmente esgotado).\n- **`includeInvalidLinkedProducts: true` desliga esse filtro por completo** — o grupo passa a retornar todos os produtos vinculados cadastrados, incluindo os com catálogo excluído ou totalmente esgotados. Nesse modo, `includeSoldOutProducts` não tem efeito adicional (o filtro de esgotado já está desligado).\n- **`linkedProducts[].catalog` é resolvido de forma independente dos filtros acima**, item a item. No comportamento padrão isso raramente aparece, pois produtos sem catálogo válido já são removidos de `linkedProducts` antes de chegar aí; mas com `includeInvalidLinkedProducts: true` você pode ver itens em `linkedProducts` cujo `catalog` vem `null` (produto removido do catálogo), mesmo com `title`/`slug` ainda preenchidos."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"b9f5ae1e-08d3-52a5-b65f-621d22511137"},{"name":"[Query] productGroups","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns productGroups data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"productGroups\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"productGroups returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.productGroups;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"f352b7aa-8eca-548e-ae50-2b23077bf781","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroups($filters: ProductGroupFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder) {\n  productGroups(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder) {\n    edges {\n      cursor\n      node {\n        _id\n        label\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n          catalog {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n        }\n      }\n    }\n    nodes {\n      _id\n      label\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        slug\n        imageUrls\n        catalog {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"isActive\": true,\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"productgroups\">productGroups</h2>\n<p><strong>Propósito:</strong> Lista, com paginação, os grupos de produtos (<code>ProductGroup</code>) cadastrados na sua loja, com filtros por status e data de criação.\n<strong>Quando usar:</strong> Para obter em lote os grupos existentes — por exemplo, para sincronizar ou auditar quais produtos estão agrupados, sem precisar consultar produto a produto via <code>productGroup</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida diretamente pela sua conta autenticada; esta operação não expõe (nem aceita) um argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Todos os argumentos são opcionais e combináveis. Ver a seção <strong>Paginação Relay</strong> no folder deste domínio para os argumentos de paginação.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>ProductGroupFilterInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Filtros da listagem. Ver campos abaixo.</td>\n</tr>\n<tr>\n<td><code>filters.isActive</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>true</code></td>\n<td>Filtra por grupos ativos (<code>true</code>) ou inativos (<code>false</code>). Se omitido, retorna apenas grupos ativos.</td>\n</tr>\n<tr>\n<td><code>filters.createdAt</code></td>\n<td><code>DateFilterInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Filtra por intervalo de data de criação do grupo: <code>{ gte: AWSDateTime, lte: AWSDateTime }</code> (ambos opcionais).</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor de paginação — retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor de paginação — retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>20</td>\n<td>Quantidade máxima de resultados a retornar (1 a 50). Use com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>20</td>\n<td>Quantidade máxima de resultados a retornar (1 a 50), a partir do fim. Use com <code>before</code> (não combine com <code>offset</code>).</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>0</td>\n<td>Pula os N primeiros resultados. Use com <code>first</code> (não combine com <code>last</code>).</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Direção da ordenação (<code>asc</code>/<code>desc</code>), pela ordem de criação dos grupos.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>ProductGroupConnection!</code> — uma connection Relay (ver <strong>Paginação Relay</strong> no folder deste domínio), nunca <code>null</code>, mas pode retornar uma página vazia.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor do item, usado com <code>after</code>/<code>before</code> para paginar.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code></td>\n<td><code>ProductGroup</code></td>\n<td>O grupo em si (mesma forma retornada por <code>productGroup</code>).</td>\n</tr>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[ProductGroup]</code></td>\n<td>Atalho com os grupos diretamente, sem o wrapper de cursor de <code>edges</code>.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasNextPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há mais resultados após a página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasPreviousPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há resultados antes da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.startCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do primeiro item da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.endCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do último item da página atual.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de grupos que atendem aos filtros, independente da paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Cada <code>ProductGroup</code> em <code>nodes</code>/<code>edges[].node</code> segue os mesmos campos documentados na operação <code>productGroup</code> — exceto pelo comportamento de <code>linkedProducts</code> descrito em Notas.</p>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Argumentos <code>last</code> e <code>offset</code> enviados juntos.</td>\n<td>Erro de validação com mensagem descritiva. Envie apenas um dos dois esquemas de paginação por chamada.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Erros de validação chegam via <code>errors[].message</code> (texto descritivo) e não garantem um <code>extensions.code</code> estável — verifique sempre <code>message</code>. Esta operação exige autenticação; falhas de autenticação (<code>access_token</code> ausente ou expirado) seguem o padrão geral descrito na Overview.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>linkedProducts</code> aqui não passa pelos filtros de <code>productGroup</code>.</strong> Esta operação não tem os argumentos <code>includeInvalidLinkedProducts</code>/<code>includeSoldOutProducts</code> — cada grupo listado retorna seus <code>linkedProducts</code> exatamente como cadastrados, incluindo produtos cujo catálogo foi excluído ou que estão totalmente esgotados. Use <code>linkedProducts[].catalog</code> (resolvido em tempo real por item) para checar validade do seu lado.</li>\n<li><strong><code>linkedProducts[].imageUrls</code> vem sempre vazio/<code>null</code> nesta operação.</strong> Diferente de <code>productGroup</code>, <code>productGroups</code> não enriquece os produtos vinculados com imagens do catálogo. Se precisar de imagem, use <code>linkedProducts[].catalog.primaryImage</code>/<code>.media</code>.</li>\n<li><strong><code>filters.isActive</code> tem default <code>true</code>.</strong> Para listar também grupos inativos, envie <code>isActive: false</code> explicitamente (não há opção de \"ambos\" — é uma chamada por status).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9e011ff1-f2af-4979-bade-51aaa496e887","name":"200 - productGroups","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroups($filters: ProductGroupFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder) {\n  productGroups(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder) {\n    edges {\n      cursor\n      node {\n        _id\n        label\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n          catalog {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n        }\n      }\n    }\n    nodes {\n      _id\n      label\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        slug\n        imageUrls\n        catalog {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"isActive\": true,\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\"\n}"}},"url":"{{base_url}}","description":"## productGroups\n\n**Propósito:** Lista, com paginação, os grupos de produtos (`ProductGroup`) cadastrados na sua loja, com filtros por status e data de criação.\n**Quando usar:** Para obter em lote os grupos existentes — por exemplo, para sincronizar ou auditar quais produtos estão agrupados, sem precisar consultar produto a produto via `productGroup`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida diretamente pela sua conta autenticada; esta operação não expõe (nem aceita) um argumento de loja.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome                | Tipo                      | Obrigatório | Default | Descrição                                                                                                          |\n| ------------------- | ------------------------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------ |\n| `filters`           | `ProductGroupFilterInput` | Não         | —       | Filtros da listagem. Ver campos abaixo.                                                                            |\n| `filters.isActive`  | `Boolean`                 | Não         | `true`  | Filtra por grupos ativos (`true`) ou inativos (`false`). Se omitido, retorna apenas grupos ativos.                 |\n| `filters.createdAt` | `DateFilterInput`         | Não         | —       | Filtra por intervalo de data de criação do grupo: `{ gte: AWSDateTime, lte: AWSDateTime }` (ambos opcionais).      |\n| `after`             | `String`                  | Não         | —       | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                                        |\n| `before`            | `String`                  | Não         | —       | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                                       |\n| `first`             | `Int`                     | Não         | 20      | Quantidade máxima de resultados a retornar (1 a 50). Use com `after` ou `offset`.                                  |\n| `last`              | `Int`                     | Não         | 20      | Quantidade máxima de resultados a retornar (1 a 50), a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`            | `Int`                     | Não         | 0       | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                          |\n| `sortOrder`         | `SortOrder`               | Não         | `desc`  | Direção da ordenação (`asc`/`desc`), pela ordem de criação dos grupos.                                             |\n\n### Retorno\n\n`ProductGroupConnection!` — uma connection Relay (ver **Paginação Relay** no folder deste domínio), nunca `null`, mas pode retornar uma página vazia.\n\n| Propriedade                | Tipo             | Descrição                                                             |\n| -------------------------- | ---------------- | --------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`        | Cursor do item, usado com `after`/`before` para paginar.              |\n| `edges[].node`             | `ProductGroup`   | O grupo em si (mesma forma retornada por `productGroup`).             |\n| `nodes`                    | `[ProductGroup]` | Atalho com os grupos diretamente, sem o wrapper de cursor de `edges`. |\n| `pageInfo.hasNextPage`     | `Boolean!`       | Se há mais resultados após a página atual.                            |\n| `pageInfo.hasPreviousPage` | `Boolean!`       | Se há resultados antes da página atual.                               |\n| `pageInfo.startCursor`     | `String`         | Cursor do primeiro item da página atual.                              |\n| `pageInfo.endCursor`       | `String`         | Cursor do último item da página atual.                                |\n| `totalCount`               | `Int!`           | Total de grupos que atendem aos filtros, independente da paginação.   |\n\nCada `ProductGroup` em `nodes`/`edges[].node` segue os mesmos campos documentados na operação `productGroup` — exceto pelo comportamento de `linkedProducts` descrito em Notas.\n\n### Erros\n\n| Código         | Condição                                      | O que fazer                                                                                            |\n| -------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| _(sem código)_ | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação chegam via `errors[].message` (texto descritivo) e não garantem um `extensions.code` estável — verifique sempre `message`. Esta operação exige autenticação; falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n### Notas\n\n- **`linkedProducts` aqui não passa pelos filtros de `productGroup`.** Esta operação não tem os argumentos `includeInvalidLinkedProducts`/`includeSoldOutProducts` — cada grupo listado retorna seus `linkedProducts` exatamente como cadastrados, incluindo produtos cujo catálogo foi excluído ou que estão totalmente esgotados. Use `linkedProducts[].catalog` (resolvido em tempo real por item) para checar validade do seu lado.\n- **`linkedProducts[].imageUrls` vem sempre vazio/`null` nesta operação.** Diferente de `productGroup`, `productGroups` não enriquece os produtos vinculados com imagens do catálogo. Se precisar de imagem, use `linkedProducts[].catalog.primaryImage`/`.media`.\n- **`filters.isActive` tem default `true`.** Para listar também grupos inativos, envie `isActive: false` explicitamente (não há opção de \"ambos\" — é uma chamada por status)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"productGroups\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"label\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"erpCode\": \"Example_String\",\n          \"shopId\": \"Example_String\",\n          \"isActive\": true\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"36957887-6dc8-47d2-a628-52e5a6e102c2","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroups($filters: ProductGroupFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder) {\n  productGroups(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder) {\n    edges {\n      cursor\n      node {\n        _id\n        label\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n          catalog {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n        }\n      }\n    }\n    nodes {\n      _id\n      label\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        slug\n        imageUrls\n        catalog {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"isActive\": true,\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\"\n}"}},"url":"{{base_url}}","description":"## productGroups\n\n**Propósito:** Lista, com paginação, os grupos de produtos (`ProductGroup`) cadastrados na sua loja, com filtros por status e data de criação.\n**Quando usar:** Para obter em lote os grupos existentes — por exemplo, para sincronizar ou auditar quais produtos estão agrupados, sem precisar consultar produto a produto via `productGroup`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida diretamente pela sua conta autenticada; esta operação não expõe (nem aceita) um argumento de loja.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome                | Tipo                      | Obrigatório | Default | Descrição                                                                                                          |\n| ------------------- | ------------------------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------ |\n| `filters`           | `ProductGroupFilterInput` | Não         | —       | Filtros da listagem. Ver campos abaixo.                                                                            |\n| `filters.isActive`  | `Boolean`                 | Não         | `true`  | Filtra por grupos ativos (`true`) ou inativos (`false`). Se omitido, retorna apenas grupos ativos.                 |\n| `filters.createdAt` | `DateFilterInput`         | Não         | —       | Filtra por intervalo de data de criação do grupo: `{ gte: AWSDateTime, lte: AWSDateTime }` (ambos opcionais).      |\n| `after`             | `String`                  | Não         | —       | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                                        |\n| `before`            | `String`                  | Não         | —       | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                                       |\n| `first`             | `Int`                     | Não         | 20      | Quantidade máxima de resultados a retornar (1 a 50). Use com `after` ou `offset`.                                  |\n| `last`              | `Int`                     | Não         | 20      | Quantidade máxima de resultados a retornar (1 a 50), a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`            | `Int`                     | Não         | 0       | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                          |\n| `sortOrder`         | `SortOrder`               | Não         | `desc`  | Direção da ordenação (`asc`/`desc`), pela ordem de criação dos grupos.                                             |\n\n### Retorno\n\n`ProductGroupConnection!` — uma connection Relay (ver **Paginação Relay** no folder deste domínio), nunca `null`, mas pode retornar uma página vazia.\n\n| Propriedade                | Tipo             | Descrição                                                             |\n| -------------------------- | ---------------- | --------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`        | Cursor do item, usado com `after`/`before` para paginar.              |\n| `edges[].node`             | `ProductGroup`   | O grupo em si (mesma forma retornada por `productGroup`).             |\n| `nodes`                    | `[ProductGroup]` | Atalho com os grupos diretamente, sem o wrapper de cursor de `edges`. |\n| `pageInfo.hasNextPage`     | `Boolean!`       | Se há mais resultados após a página atual.                            |\n| `pageInfo.hasPreviousPage` | `Boolean!`       | Se há resultados antes da página atual.                               |\n| `pageInfo.startCursor`     | `String`         | Cursor do primeiro item da página atual.                              |\n| `pageInfo.endCursor`       | `String`         | Cursor do último item da página atual.                                |\n| `totalCount`               | `Int!`           | Total de grupos que atendem aos filtros, independente da paginação.   |\n\nCada `ProductGroup` em `nodes`/`edges[].node` segue os mesmos campos documentados na operação `productGroup` — exceto pelo comportamento de `linkedProducts` descrito em Notas.\n\n### Erros\n\n| Código         | Condição                                      | O que fazer                                                                                            |\n| -------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| _(sem código)_ | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação chegam via `errors[].message` (texto descritivo) e não garantem um `extensions.code` estável — verifique sempre `message`. Esta operação exige autenticação; falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n### Notas\n\n- **`linkedProducts` aqui não passa pelos filtros de `productGroup`.** Esta operação não tem os argumentos `includeInvalidLinkedProducts`/`includeSoldOutProducts` — cada grupo listado retorna seus `linkedProducts` exatamente como cadastrados, incluindo produtos cujo catálogo foi excluído ou que estão totalmente esgotados. Use `linkedProducts[].catalog` (resolvido em tempo real por item) para checar validade do seu lado.\n- **`linkedProducts[].imageUrls` vem sempre vazio/`null` nesta operação.** Diferente de `productGroup`, `productGroups` não enriquece os produtos vinculados com imagens do catálogo. Se precisar de imagem, use `linkedProducts[].catalog.primaryImage`/`.media`.\n- **`filters.isActive` tem default `true`.** Para listar também grupos inativos, envie `isActive: false` explicitamente (não há opção de \"ambos\" — é uma chamada por status)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"7f0ddc9f-8260-4c2c-9c57-b68ffe6e746d","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductGroups($filters: ProductGroupFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder) {\n  productGroups(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder) {\n    edges {\n      cursor\n      node {\n        _id\n        label\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n          catalog {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n        }\n      }\n    }\n    nodes {\n      _id\n      label\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        slug\n        imageUrls\n        catalog {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"isActive\": true,\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\"\n}"}},"url":"{{base_url}}","description":"## productGroups\n\n**Propósito:** Lista, com paginação, os grupos de produtos (`ProductGroup`) cadastrados na sua loja, com filtros por status e data de criação.\n**Quando usar:** Para obter em lote os grupos existentes — por exemplo, para sincronizar ou auditar quais produtos estão agrupados, sem precisar consultar produto a produto via `productGroup`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida diretamente pela sua conta autenticada; esta operação não expõe (nem aceita) um argumento de loja.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome                | Tipo                      | Obrigatório | Default | Descrição                                                                                                          |\n| ------------------- | ------------------------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------ |\n| `filters`           | `ProductGroupFilterInput` | Não         | —       | Filtros da listagem. Ver campos abaixo.                                                                            |\n| `filters.isActive`  | `Boolean`                 | Não         | `true`  | Filtra por grupos ativos (`true`) ou inativos (`false`). Se omitido, retorna apenas grupos ativos.                 |\n| `filters.createdAt` | `DateFilterInput`         | Não         | —       | Filtra por intervalo de data de criação do grupo: `{ gte: AWSDateTime, lte: AWSDateTime }` (ambos opcionais).      |\n| `after`             | `String`                  | Não         | —       | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                                        |\n| `before`            | `String`                  | Não         | —       | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                                       |\n| `first`             | `Int`                     | Não         | 20      | Quantidade máxima de resultados a retornar (1 a 50). Use com `after` ou `offset`.                                  |\n| `last`              | `Int`                     | Não         | 20      | Quantidade máxima de resultados a retornar (1 a 50), a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`            | `Int`                     | Não         | 0       | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                          |\n| `sortOrder`         | `SortOrder`               | Não         | `desc`  | Direção da ordenação (`asc`/`desc`), pela ordem de criação dos grupos.                                             |\n\n### Retorno\n\n`ProductGroupConnection!` — uma connection Relay (ver **Paginação Relay** no folder deste domínio), nunca `null`, mas pode retornar uma página vazia.\n\n| Propriedade                | Tipo             | Descrição                                                             |\n| -------------------------- | ---------------- | --------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`        | Cursor do item, usado com `after`/`before` para paginar.              |\n| `edges[].node`             | `ProductGroup`   | O grupo em si (mesma forma retornada por `productGroup`).             |\n| `nodes`                    | `[ProductGroup]` | Atalho com os grupos diretamente, sem o wrapper de cursor de `edges`. |\n| `pageInfo.hasNextPage`     | `Boolean!`       | Se há mais resultados após a página atual.                            |\n| `pageInfo.hasPreviousPage` | `Boolean!`       | Se há resultados antes da página atual.                               |\n| `pageInfo.startCursor`     | `String`         | Cursor do primeiro item da página atual.                              |\n| `pageInfo.endCursor`       | `String`         | Cursor do último item da página atual.                                |\n| `totalCount`               | `Int!`           | Total de grupos que atendem aos filtros, independente da paginação.   |\n\nCada `ProductGroup` em `nodes`/`edges[].node` segue os mesmos campos documentados na operação `productGroup` — exceto pelo comportamento de `linkedProducts` descrito em Notas.\n\n### Erros\n\n| Código         | Condição                                      | O que fazer                                                                                            |\n| -------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| _(sem código)_ | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Erros de validação chegam via `errors[].message` (texto descritivo) e não garantem um `extensions.code` estável — verifique sempre `message`. Esta operação exige autenticação; falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n### Notas\n\n- **`linkedProducts` aqui não passa pelos filtros de `productGroup`.** Esta operação não tem os argumentos `includeInvalidLinkedProducts`/`includeSoldOutProducts` — cada grupo listado retorna seus `linkedProducts` exatamente como cadastrados, incluindo produtos cujo catálogo foi excluído ou que estão totalmente esgotados. Use `linkedProducts[].catalog` (resolvido em tempo real por item) para checar validade do seu lado.\n- **`linkedProducts[].imageUrls` vem sempre vazio/`null` nesta operação.** Diferente de `productGroup`, `productGroups` não enriquece os produtos vinculados com imagens do catálogo. Se precisar de imagem, use `linkedProducts[].catalog.primaryImage`/`.media`.\n- **`filters.isActive` tem default `true`.** Para listar também grupos inativos, envie `isActive: false` explicitamente (não há opção de \"ambos\" — é uma chamada por status)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"f352b7aa-8eca-548e-ae50-2b23077bf781"},{"name":"[Query] catalogItems","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns catalogItems data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"catalogItems\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"catalogItems returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.catalogItems;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"1a11011f-f778-53b1-9d88-a2ef0c2a9be8","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CatalogItems($tagIds: [ID], $booleanFilters: [CatalogBooleanFilter], $productIdsOrERPCodes: [String], $priceRange: CatalogPriceRangeFilter, $searchText: String, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortByPriceCurrencyCode: String, $sortBy: CatalogItemSortByField) {\n  catalogItems(tagIds: $tagIds, booleanFilters: $booleanFilters, productIdsOrERPCodes: $productIdsOrERPCodes, priceRange: $priceRange, searchText: $searchText, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortByPriceCurrencyCode: $sortByPriceCurrencyCode, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        createdAt\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      createdAt\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"booleanFilters\": [\n    {\n      \"name\": \"isDeleted\",\n      \"value\": 99.99,\n      \"onVariants\": true\n    }\n  ],\n  \"productIdsOrERPCodes\": [\n    \"Example_String\"\n  ],\n  \"priceRange\": {\n    \"gte\": 99.99,\n    \"lte\": 99.99\n  },\n  \"searchText\": \"Example_String\",\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 10,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortByPriceCurrencyCode\": 99.99,\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"catalogitems\">catalogItems</h2>\n<p><strong>Propósito:</strong> Lista, com paginação, os itens do catálogo publicado da sua loja — a visão de catálogo (título, slug, mídia, variantes, descrições e labels de kit/preço unitário), com filtros por tag, faixa de preço, texto e IDs/ERP codes.\n<strong>Quando usar:</strong> Para montar ou sincronizar a vitrine do seu canal a partir do catálogo publicado (não da visão administrativa do produto). Para um único produto já conhecido pelo slug, prefira <code>catalogItemProductBySlug</code>; para a visão administrativa (estado de publicação, tags, sitemap), use <code>products</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Os resultados são sempre escopados à loja da conta autenticada — o identificador da loja é derivado do seu token na borda, <strong>não há argumento de loja nesta operação e você não o envia</strong>. Envie sempre um <code>Authorization</code> válido: sem ele o escopo de loja não é aplicado e a chamada falha.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Todos os argumentos são opcionais e combináveis. Ver a seção <strong>Paginação Relay</strong> no folder deste domínio para os argumentos de paginação.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tagIds</code></td>\n<td><code>[ID]</code></td>\n<td>Não</td>\n<td><code>null</code> (sem filtro)</td>\n<td>Lista de IDs de tag para restringir os itens àqueles associados a qualquer uma delas.</td>\n</tr>\n<tr>\n<td><code>booleanFilters</code></td>\n<td><code>[CatalogBooleanFilter]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtros booleanos adicionais aplicados ao catálogo.</td>\n</tr>\n<tr>\n<td><code>productIdsOrERPCodes</code></td>\n<td><code>[String]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Restringe o resultado a produtos com estes IDs de produto ou códigos de ERP.</td>\n</tr>\n<tr>\n<td><code>priceRange</code></td>\n<td><code>CatalogPriceRangeFilter</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtra por uma faixa de preço. A moeda considerada é a de <code>sortByPriceCurrencyCode</code> (default <code>BRL</code>).</td>\n</tr>\n<tr>\n<td><code>searchText</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Busca textual sobre título e descrição dos itens do catálogo.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor de paginação — retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor de paginação — retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Quantidade máxima de resultados a retornar. Use com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Quantidade máxima de resultados a retornar, a partir do fim. Use com <code>before</code> (não combine com <code>offset</code>).</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Pula os N primeiros resultados. Use com <code>first</code> (não combine com <code>last</code>).</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Direção da ordenação (<code>asc</code>/<code>desc</code>).</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>CatalogItemSortByField</code></td>\n<td>Não</td>\n<td><code>updatedAt</code></td>\n<td>Campo de ordenação: <code>_id</code>, <code>createdAt</code>, <code>minPrice</code>, <code>sortIndex</code>, <code>title</code>, <code>updatedAt</code>. Ao ordenar por <code>minPrice</code>, informe <code>sortByPriceCurrencyCode</code>.</td>\n</tr>\n<tr>\n<td><code>sortByPriceCurrencyCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>BRL</code></td>\n<td>Código de moeda usado ao ordenar por <code>minPrice</code> <strong>e</strong> ao aplicar <code>priceRange</code>. Sem este valor, os preços são avaliados em <code>BRL</code> — informe a moeda correta para catálogos não-BRL.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CatalogItemConnection</code> — uma connection Relay (ver <strong>Paginação Relay</strong> no folder deste domínio). <code>nodes</code>/<code>edges[].node</code> são do tipo <strong>interface <code>CatalogItem</code></strong>, que expõe diretamente apenas <code>_id</code>, <code>createdAt</code>, <code>shop</code> e <code>updatedAt</code>. Para ler os campos do item de produto (<code>publishedUrl</code>, <code>product</code>, etc.), use um inline fragment <code>... on CatalogItemProduct { ... }</code> <strong>e inclua <code>__typename</code> na seleção</strong> — a API exige o <code>__typename</code> para resolver o tipo concreto da interface; sem ele a consulta falha com <em>\"Abstract type 'CatalogItem' must resolve to an Object type\"</em>. Ex.: <code>nodes { __typename ... on CatalogItemProduct { product { title slug } } }</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor do item, usado com <code>after</code>/<code>before</code> para paginar.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code> / <code>nodes[]</code></td>\n<td><code>CatalogItem</code></td>\n<td>Item de catálogo (interface). Campos diretos: <code>_id</code>, <code>createdAt</code>, <code>shop</code>, <code>updatedAt</code>.</td>\n</tr>\n<tr>\n<td><code>... on CatalogItemProduct { publishedUrl }</code></td>\n<td><code>String</code></td>\n<td>URL publicada do item no storefront.</td>\n</tr>\n<tr>\n<td><code>... on CatalogItemProduct { cardDescription }</code></td>\n<td><code>String</code></td>\n<td>Descrição curta para card/listagem.</td>\n</tr>\n<tr>\n<td><code>... on CatalogItemProduct { shortDescription }</code></td>\n<td><code>String</code></td>\n<td>Descrição resumida do item.</td>\n</tr>\n<tr>\n<td><code>... on CatalogItemProduct { product } </code></td>\n<td><code>CatalogProduct</code></td>\n<td>Conteúdo do produto publicado: <code>title</code>, <code>slug</code>, <code>sku</code>, <code>media</code>, <code>variants</code>, descrições, grupos/kit e labels (<code>unitPriceLabel</code>, <code>unitPriceFactor</code>).</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasNextPage</code> / <code>hasPreviousPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há mais resultados após / antes da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.startCursor</code> / <code>endCursor</code></td>\n<td><code>String</code></td>\n<td>Cursores do primeiro e do último item da página atual.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de itens que atendem aos filtros, independente da paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente ou inválido.</td>\n<td>Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça <code>signIn</code> e reenvie.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Argumentos <code>last</code> e <code>offset</code> enviados juntos.</td>\n<td>Erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável. Envie apenas um dos dois esquemas de paginação por chamada.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>A consulta é autenticada como a própria loja, então retorna o catálogo <strong>da sua loja</strong> — o que pode incluir itens ocultos/não-publicados (<code>isVisible: false</code>); itens excluídos nunca aparecem. Use <code>booleanFilters</code> para restringir o conjunto ao seu caso de uso (ex.: montar uma vitrine só com itens visíveis).</li>\n<li>O catálogo não expõe um campo de preço numérico calculado nesta versão — há apenas labels (<code>unitPriceLabel</code>, <code>unitPriceFactor</code>) no <code>CatalogProduct</code>. <code>priceRange</code>/<code>minPrice</code> operam sobre o preço interno do catálogo (na moeda de <code>sortByPriceCurrencyCode</code>), mas o valor numérico em si não é retornado no payload.</li>\n<li>Sem filtros, retorna todo o catálogo elegível da loja, sujeito à paginação — em catálogos grandes, sempre pagine.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"91739e65-44fe-4934-a8b2-c6e649462180","name":"200 - catalogItems","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CatalogItems($tagIds: [ID], $booleanFilters: [CatalogBooleanFilter], $productIdsOrERPCodes: [String], $priceRange: CatalogPriceRangeFilter, $searchText: String, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortByPriceCurrencyCode: String, $sortBy: CatalogItemSortByField) {\n  catalogItems(tagIds: $tagIds, booleanFilters: $booleanFilters, productIdsOrERPCodes: $productIdsOrERPCodes, priceRange: $priceRange, searchText: $searchText, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortByPriceCurrencyCode: $sortByPriceCurrencyCode, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        createdAt\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      createdAt\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"booleanFilters\": [\n    {\n      \"name\": \"isDeleted\",\n      \"value\": 99.99,\n      \"onVariants\": true\n    }\n  ],\n  \"productIdsOrERPCodes\": [\n    \"Example_String\"\n  ],\n  \"priceRange\": {\n    \"gte\": 99.99,\n    \"lte\": 99.99\n  },\n  \"searchText\": \"Example_String\",\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 10,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortByPriceCurrencyCode\": 99.99,\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## catalogItems\n\n**Propósito:** Lista, com paginação, os itens do catálogo publicado da sua loja — a visão de catálogo (título, slug, mídia, variantes, descrições e labels de kit/preço unitário), com filtros por tag, faixa de preço, texto e IDs/ERP codes.\n**Quando usar:** Para montar ou sincronizar a vitrine do seu canal a partir do catálogo publicado (não da visão administrativa do produto). Para um único produto já conhecido pelo slug, prefira `catalogItemProductBySlug`; para a visão administrativa (estado de publicação, tags, sitemap), use `products`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada — o identificador da loja é derivado do seu token na borda, **não há argumento de loja nesta operação e você não o envia**. Envie sempre um `Authorization` válido: sem ele o escopo de loja não é aplicado e a chamada falha.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome                      | Tipo                      | Obrigatório | Default             | Descrição                                                                                                                                                                         |\n| ------------------------- | ------------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `tagIds`                  | `[ID]`                    | Não         | `null` (sem filtro) | Lista de IDs de tag para restringir os itens àqueles associados a qualquer uma delas.                                                                                             |\n| `booleanFilters`          | `[CatalogBooleanFilter]`  | Não         | `null`              | Filtros booleanos adicionais aplicados ao catálogo.                                                                                                                               |\n| `productIdsOrERPCodes`    | `[String]`                | Não         | `null`              | Restringe o resultado a produtos com estes IDs de produto ou códigos de ERP.                                                                                                      |\n| `priceRange`              | `CatalogPriceRangeFilter` | Não         | `null`              | Filtra por uma faixa de preço. A moeda considerada é a de `sortByPriceCurrencyCode` (default `BRL`).                                                                              |\n| `searchText`              | `String`                  | Não         | `null`              | Busca textual sobre título e descrição dos itens do catálogo.                                                                                                                     |\n| `after`                   | `String`                  | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                                                                                                       |\n| `before`                  | `String`                  | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                                                                                                      |\n| `first`                   | `Int`                     | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                                                                                          |\n| `last`                    | `Int`                     | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`).                                                                         |\n| `offset`                  | `Int`                     | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                                                                                         |\n| `sortOrder`               | `SortOrder`               | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                                                                                              |\n| `sortBy`                  | `CatalogItemSortByField`  | Não         | `updatedAt`         | Campo de ordenação: `_id`, `createdAt`, `minPrice`, `sortIndex`, `title`, `updatedAt`. Ao ordenar por `minPrice`, informe `sortByPriceCurrencyCode`.                              |\n| `sortByPriceCurrencyCode` | `String`                  | Não         | `BRL`               | Código de moeda usado ao ordenar por `minPrice` **e** ao aplicar `priceRange`. Sem este valor, os preços são avaliados em `BRL` — informe a moeda correta para catálogos não-BRL. |\n\n### Retorno\n\n`CatalogItemConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). `nodes`/`edges[].node` são do tipo **interface `CatalogItem`**, que expõe diretamente apenas `_id`, `createdAt`, `shop` e `updatedAt`. Para ler os campos do item de produto (`publishedUrl`, `product`, etc.), use um inline fragment `... on CatalogItemProduct { ... }` **e inclua `__typename` na seleção** — a API exige o `__typename` para resolver o tipo concreto da interface; sem ele a consulta falha com _\"Abstract type 'CatalogItem' must resolve to an Object type\"_. Ex.: `nodes { __typename ... on CatalogItemProduct { product { title slug } } }`.\n\n| Propriedade                                      | Tipo             | Descrição                                                                                                                                          |\n| ------------------------------------------------ | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `edges[].cursor`                                 | `String!`        | Cursor do item, usado com `after`/`before` para paginar.                                                                                           |\n| `edges[].node` / `nodes[]`                       | `CatalogItem`    | Item de catálogo (interface). Campos diretos: `_id`, `createdAt`, `shop`, `updatedAt`.                                                             |\n| `... on CatalogItemProduct { publishedUrl }`     | `String`         | URL publicada do item no storefront.                                                                                                               |\n| `... on CatalogItemProduct { cardDescription }`  | `String`         | Descrição curta para card/listagem.                                                                                                                |\n| `... on CatalogItemProduct { shortDescription }` | `String`         | Descrição resumida do item.                                                                                                                        |\n| `... on CatalogItemProduct { product } `         | `CatalogProduct` | Conteúdo do produto publicado: `title`, `slug`, `sku`, `media`, `variants`, descrições, grupos/kit e labels (`unitPriceLabel`, `unitPriceFactor`). |\n| `pageInfo.hasNextPage` / `hasPreviousPage`       | `Boolean!`       | Se há mais resultados após / antes da página atual.                                                                                                |\n| `pageInfo.startCursor` / `endCursor`             | `String`         | Cursores do primeiro e do último item da página atual.                                                                                             |\n| `totalCount`                                     | `Int!`           | Total de itens que atendem aos filtros, independente da paginação.                                                                                 |\n\n### Erros\n\n| Código         | Condição                                      | O que fazer                                                                                                                           |\n| -------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `Authorization` ausente ou inválido.          | Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça `signIn` e reenvie.                                     |\n| _(sem código)_ | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- A consulta é autenticada como a própria loja, então retorna o catálogo **da sua loja** — o que pode incluir itens ocultos/não-publicados (`isVisible: false`); itens excluídos nunca aparecem. Use `booleanFilters` para restringir o conjunto ao seu caso de uso (ex.: montar uma vitrine só com itens visíveis).\n- O catálogo não expõe um campo de preço numérico calculado nesta versão — há apenas labels (`unitPriceLabel`, `unitPriceFactor`) no `CatalogProduct`. `priceRange`/`minPrice` operam sobre o preço interno do catálogo (na moeda de `sortByPriceCurrencyCode`), mas o valor numérico em si não é retornado no payload.\n- Sem filtros, retorna todo o catálogo elegível da loja, sujeito à paginação — em catálogos grandes, sempre pagine."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"catalogItems\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\"\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"580698cb-6757-403a-a3bb-8d79b6e36fde","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CatalogItems($tagIds: [ID], $booleanFilters: [CatalogBooleanFilter], $productIdsOrERPCodes: [String], $priceRange: CatalogPriceRangeFilter, $searchText: String, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortByPriceCurrencyCode: String, $sortBy: CatalogItemSortByField) {\n  catalogItems(tagIds: $tagIds, booleanFilters: $booleanFilters, productIdsOrERPCodes: $productIdsOrERPCodes, priceRange: $priceRange, searchText: $searchText, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortByPriceCurrencyCode: $sortByPriceCurrencyCode, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        createdAt\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      createdAt\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"booleanFilters\": [\n    {\n      \"name\": \"isDeleted\",\n      \"value\": 99.99,\n      \"onVariants\": true\n    }\n  ],\n  \"productIdsOrERPCodes\": [\n    \"Example_String\"\n  ],\n  \"priceRange\": {\n    \"gte\": 99.99,\n    \"lte\": 99.99\n  },\n  \"searchText\": \"Example_String\",\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 10,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortByPriceCurrencyCode\": 99.99,\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## catalogItems\n\n**Propósito:** Lista, com paginação, os itens do catálogo publicado da sua loja — a visão de catálogo (título, slug, mídia, variantes, descrições e labels de kit/preço unitário), com filtros por tag, faixa de preço, texto e IDs/ERP codes.\n**Quando usar:** Para montar ou sincronizar a vitrine do seu canal a partir do catálogo publicado (não da visão administrativa do produto). Para um único produto já conhecido pelo slug, prefira `catalogItemProductBySlug`; para a visão administrativa (estado de publicação, tags, sitemap), use `products`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada — o identificador da loja é derivado do seu token na borda, **não há argumento de loja nesta operação e você não o envia**. Envie sempre um `Authorization` válido: sem ele o escopo de loja não é aplicado e a chamada falha.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome                      | Tipo                      | Obrigatório | Default             | Descrição                                                                                                                                                                         |\n| ------------------------- | ------------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `tagIds`                  | `[ID]`                    | Não         | `null` (sem filtro) | Lista de IDs de tag para restringir os itens àqueles associados a qualquer uma delas.                                                                                             |\n| `booleanFilters`          | `[CatalogBooleanFilter]`  | Não         | `null`              | Filtros booleanos adicionais aplicados ao catálogo.                                                                                                                               |\n| `productIdsOrERPCodes`    | `[String]`                | Não         | `null`              | Restringe o resultado a produtos com estes IDs de produto ou códigos de ERP.                                                                                                      |\n| `priceRange`              | `CatalogPriceRangeFilter` | Não         | `null`              | Filtra por uma faixa de preço. A moeda considerada é a de `sortByPriceCurrencyCode` (default `BRL`).                                                                              |\n| `searchText`              | `String`                  | Não         | `null`              | Busca textual sobre título e descrição dos itens do catálogo.                                                                                                                     |\n| `after`                   | `String`                  | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                                                                                                       |\n| `before`                  | `String`                  | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                                                                                                      |\n| `first`                   | `Int`                     | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                                                                                          |\n| `last`                    | `Int`                     | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`).                                                                         |\n| `offset`                  | `Int`                     | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                                                                                         |\n| `sortOrder`               | `SortOrder`               | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                                                                                              |\n| `sortBy`                  | `CatalogItemSortByField`  | Não         | `updatedAt`         | Campo de ordenação: `_id`, `createdAt`, `minPrice`, `sortIndex`, `title`, `updatedAt`. Ao ordenar por `minPrice`, informe `sortByPriceCurrencyCode`.                              |\n| `sortByPriceCurrencyCode` | `String`                  | Não         | `BRL`               | Código de moeda usado ao ordenar por `minPrice` **e** ao aplicar `priceRange`. Sem este valor, os preços são avaliados em `BRL` — informe a moeda correta para catálogos não-BRL. |\n\n### Retorno\n\n`CatalogItemConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). `nodes`/`edges[].node` são do tipo **interface `CatalogItem`**, que expõe diretamente apenas `_id`, `createdAt`, `shop` e `updatedAt`. Para ler os campos do item de produto (`publishedUrl`, `product`, etc.), use um inline fragment `... on CatalogItemProduct { ... }` **e inclua `__typename` na seleção** — a API exige o `__typename` para resolver o tipo concreto da interface; sem ele a consulta falha com _\"Abstract type 'CatalogItem' must resolve to an Object type\"_. Ex.: `nodes { __typename ... on CatalogItemProduct { product { title slug } } }`.\n\n| Propriedade                                      | Tipo             | Descrição                                                                                                                                          |\n| ------------------------------------------------ | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `edges[].cursor`                                 | `String!`        | Cursor do item, usado com `after`/`before` para paginar.                                                                                           |\n| `edges[].node` / `nodes[]`                       | `CatalogItem`    | Item de catálogo (interface). Campos diretos: `_id`, `createdAt`, `shop`, `updatedAt`.                                                             |\n| `... on CatalogItemProduct { publishedUrl }`     | `String`         | URL publicada do item no storefront.                                                                                                               |\n| `... on CatalogItemProduct { cardDescription }`  | `String`         | Descrição curta para card/listagem.                                                                                                                |\n| `... on CatalogItemProduct { shortDescription }` | `String`         | Descrição resumida do item.                                                                                                                        |\n| `... on CatalogItemProduct { product } `         | `CatalogProduct` | Conteúdo do produto publicado: `title`, `slug`, `sku`, `media`, `variants`, descrições, grupos/kit e labels (`unitPriceLabel`, `unitPriceFactor`). |\n| `pageInfo.hasNextPage` / `hasPreviousPage`       | `Boolean!`       | Se há mais resultados após / antes da página atual.                                                                                                |\n| `pageInfo.startCursor` / `endCursor`             | `String`         | Cursores do primeiro e do último item da página atual.                                                                                             |\n| `totalCount`                                     | `Int!`           | Total de itens que atendem aos filtros, independente da paginação.                                                                                 |\n\n### Erros\n\n| Código         | Condição                                      | O que fazer                                                                                                                           |\n| -------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `Authorization` ausente ou inválido.          | Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça `signIn` e reenvie.                                     |\n| _(sem código)_ | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- A consulta é autenticada como a própria loja, então retorna o catálogo **da sua loja** — o que pode incluir itens ocultos/não-publicados (`isVisible: false`); itens excluídos nunca aparecem. Use `booleanFilters` para restringir o conjunto ao seu caso de uso (ex.: montar uma vitrine só com itens visíveis).\n- O catálogo não expõe um campo de preço numérico calculado nesta versão — há apenas labels (`unitPriceLabel`, `unitPriceFactor`) no `CatalogProduct`. `priceRange`/`minPrice` operam sobre o preço interno do catálogo (na moeda de `sortByPriceCurrencyCode`), mas o valor numérico em si não é retornado no payload.\n- Sem filtros, retorna todo o catálogo elegível da loja, sujeito à paginação — em catálogos grandes, sempre pagine."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"1a11011f-f778-53b1-9d88-a2ef0c2a9be8"},{"name":"[Query] catalogItemProductBySlug","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns catalogItemProductBySlug data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"catalogItemProductBySlug\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"catalogItemProductBySlug returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.catalogItemProductBySlug;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.publishedUrl !== undefined && data.publishedUrl !== null) {","            pm.expect(typeof data.publishedUrl).to.equal(\"string\");","        }","        if (data.shortDescription !== undefined && data.shortDescription !== null) {","            pm.expect(typeof data.shortDescription).to.equal(\"string\");","        }","        if (data.cardDescription !== undefined && data.cardDescription !== null) {","            pm.expect(typeof data.cardDescription).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.product !== undefined && data.product !== null) {","            pm.expect(data.product).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"shop\");","        if (data.shop !== undefined && data.shop !== null) {","            pm.expect(data.shop).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"updatedAt\");","        if (data.updatedAt !== undefined && data.updatedAt !== null) {","            pm.expect(typeof data.updatedAt).to.equal(\"string\");","        }","        if (data.updatedAt) {","            pm.expect(new Date(data.updatedAt).toString()).to.not.equal(\"Invalid Date\");","        }","    }","});"]}}],"id":"597d9c53-346c-52a6-a45d-74e1569de66b","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CatalogItemProductBySlug($productSlug: String!, $booleanFilters: [CatalogBooleanFilter], $filterSoldOutVariants: Boolean) {\n  catalogItemProductBySlug(productSlug: $productSlug, booleanFilters: $booleanFilters, filterSoldOutVariants: $filterSoldOutVariants) {\n    _id\n    publishedUrl\n    shortDescription\n    cardDescription\n    createdAt\n    product {\n      _id\n      erpCode\n      barcode\n      createdAt\n      description\n      height\n      isDeleted\n      isVisible\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      originCountry\n      pageTitle\n      parcel {\n        containers\n        distanceUnit\n        height\n        length\n        massUnit\n        weight\n        width\n      }\n      primaryImage {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      productId\n      type\n      productType\n      recurrenceAllowed\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      title\n      updatedAt\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      vendor\n      sortIndex\n      videoUrls\n      weight\n      width\n      additionalInformation\n      measurementsInformation\n      group {\n        label\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n        }\n      }\n      requiredPicksPerGroup\n      unitPriceLabel\n      titleLabel\n      highlightLabel\n      kitGroupDescription\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n      isBackorder\n      isLowQuantity\n      isSoldOut\n      pricing {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      pricingOnRecurrence {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      pricingPerUnit {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      imageUrls\n    }\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    updatedAt\n  }\n}","variables":"{\n  \"productSlug\": \"Example_String\",\n  \"booleanFilters\": [\n    {\n      \"name\": \"isDeleted\",\n      \"value\": 99.99,\n      \"onVariants\": true\n    }\n  ],\n  \"filterSoldOutVariants\": true\n}"}},"url":"{{base_url}}","description":"<h2 id=\"catalogitemproductbyslug\">catalogItemProductBySlug</h2>\n<p><strong>Propósito:</strong> Retorna um único produto do catálogo publicado da sua loja a partir do seu <code>slug</code> — a visão de catálogo do produto (título, mídia, variantes, descrições e labels), para renderizar a página de produto (PDP) do seu storefront.\n<strong>Quando usar:</strong> Para montar a PDP a partir do slug presente na URL. Para listar/filtrar vários itens, use <code>catalogItems</code>; para a visão administrativa do produto, use <code>product</code>/<code>products</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O produto é sempre buscado dentro da loja da conta autenticada — o identificador da loja é derivado do seu token na borda, <strong>não há argumento de loja nesta operação e você não o envia</strong>. Envie sempre um <code>Authorization</code> válido: sem ele o escopo de loja não é aplicado e a chamada falha.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productSlug</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Slug do produto no catálogo (o mesmo usado na URL do storefront).</td>\n</tr>\n<tr>\n<td><code>booleanFilters</code></td>\n<td><code>[CatalogBooleanFilter]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtros booleanos adicionais aplicados ao item.</td>\n</tr>\n<tr>\n<td><code>filterSoldOutVariants</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Quando <code>true</code>, remove do resultado as variantes que não podem ser vendidas (esgotadas).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CatalogItemProduct</code> — o item de catálogo do tipo produto. Retorna <code>null</code> quando nenhum produto publicado e visível corresponde ao <code>slug</code> na loja.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador do item de catálogo.</td>\n</tr>\n<tr>\n<td><code>publishedUrl</code></td>\n<td><code>String</code></td>\n<td>URL publicada do produto no storefront.</td>\n</tr>\n<tr>\n<td><code>cardDescription</code></td>\n<td><code>String</code></td>\n<td>Descrição curta para card/listagem.</td>\n</tr>\n<tr>\n<td><code>shortDescription</code></td>\n<td><code>String</code></td>\n<td>Descrição resumida do item.</td>\n</tr>\n<tr>\n<td><code>product</code></td>\n<td><code>CatalogProduct</code></td>\n<td>Conteúdo do produto publicado: <code>title</code>, <code>slug</code>, <code>sku</code>, <code>media</code>, <code>variants</code>, descrições, grupos/kit e labels (<code>unitPriceLabel</code>, <code>unitPriceFactor</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td>A loja da conta autenticada está inativa.</td>\n<td>A loja precisa estar ativa para servir o catálogo. Verifique o status da conta.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente ou inválido.</td>\n<td>Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça <code>signIn</code> e reenvie.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio. Slug inexistente <strong>não</strong> é erro: retorna <code>data.catalogItemProductBySlug = null</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Diferente de <code>catalogItems</code>, esta operação sempre exige que o item seja <strong>visível e publicado</strong>: um produto oculto (<code>isVisible: false</code>), não publicado ou com slug inexistente resulta em <code>null</code>.</li>\n<li><code>filterSoldOutVariants: true</code> é útil para PDPs que não devem exibir variantes esgotadas.</li>\n<li>O catálogo não expõe um campo de preço numérico calculado nesta versão — há apenas labels (<code>unitPriceLabel</code>, <code>unitPriceFactor</code>) no <code>CatalogProduct</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4f0976fd-674d-4a71-bcf8-6d9c1b34227f","name":"200 - catalogItemProductBySlug","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CatalogItemProductBySlug($productSlug: String!, $booleanFilters: [CatalogBooleanFilter], $filterSoldOutVariants: Boolean) {\n  catalogItemProductBySlug(productSlug: $productSlug, booleanFilters: $booleanFilters, filterSoldOutVariants: $filterSoldOutVariants) {\n    _id\n    publishedUrl\n    shortDescription\n    cardDescription\n    createdAt\n    product {\n      _id\n      erpCode\n      barcode\n      createdAt\n      description\n      height\n      isDeleted\n      isVisible\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      originCountry\n      pageTitle\n      parcel {\n        containers\n        distanceUnit\n        height\n        length\n        massUnit\n        weight\n        width\n      }\n      primaryImage {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      productId\n      type\n      productType\n      recurrenceAllowed\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      title\n      updatedAt\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      vendor\n      sortIndex\n      videoUrls\n      weight\n      width\n      additionalInformation\n      measurementsInformation\n      group {\n        label\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n        }\n      }\n      requiredPicksPerGroup\n      unitPriceLabel\n      titleLabel\n      highlightLabel\n      kitGroupDescription\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n      isBackorder\n      isLowQuantity\n      isSoldOut\n      pricing {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      pricingOnRecurrence {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      pricingPerUnit {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      imageUrls\n    }\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    updatedAt\n  }\n}","variables":"{\n  \"productSlug\": \"Example_String\",\n  \"booleanFilters\": [\n    {\n      \"name\": \"isDeleted\",\n      \"value\": 99.99,\n      \"onVariants\": true\n    }\n  ],\n  \"filterSoldOutVariants\": true\n}"}},"url":"{{base_url}}","description":"## catalogItemProductBySlug\n\n**Propósito:** Retorna um único produto do catálogo publicado da sua loja a partir do seu `slug` — a visão de catálogo do produto (título, mídia, variantes, descrições e labels), para renderizar a página de produto (PDP) do seu storefront.\n**Quando usar:** Para montar a PDP a partir do slug presente na URL. Para listar/filtrar vários itens, use `catalogItems`; para a visão administrativa do produto, use `product`/`products`.\n**Autenticação:** `x-api-key` + `Authorization`. O produto é sempre buscado dentro da loja da conta autenticada — o identificador da loja é derivado do seu token na borda, **não há argumento de loja nesta operação e você não o envia**. Envie sempre um `Authorization` válido: sem ele o escopo de loja não é aplicado e a chamada falha.\n\n### Argumentos\n\n| Nome                    | Tipo                     | Obrigatório | Default | Descrição                                                                               |\n| ----------------------- | ------------------------ | ----------- | ------- | --------------------------------------------------------------------------------------- |\n| `productSlug`           | `String!`                | Sim         | —       | Slug do produto no catálogo (o mesmo usado na URL do storefront).                       |\n| `booleanFilters`        | `[CatalogBooleanFilter]` | Não         | `null`  | Filtros booleanos adicionais aplicados ao item.                                         |\n| `filterSoldOutVariants` | `Boolean`                | Não         | `false` | Quando `true`, remove do resultado as variantes que não podem ser vendidas (esgotadas). |\n\n### Retorno\n\n`CatalogItemProduct` — o item de catálogo do tipo produto. Retorna `null` quando nenhum produto publicado e visível corresponde ao `slug` na loja.\n\n| Propriedade        | Tipo             | Descrição                                                                                                                                          |\n| ------------------ | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`              | `ID!`            | Identificador do item de catálogo.                                                                                                                 |\n| `publishedUrl`     | `String`         | URL publicada do produto no storefront.                                                                                                            |\n| `cardDescription`  | `String`         | Descrição curta para card/listagem.                                                                                                                |\n| `shortDescription` | `String`         | Descrição resumida do item.                                                                                                                        |\n| `product`          | `CatalogProduct` | Conteúdo do produto publicado: `title`, `slug`, `sku`, `media`, `variants`, descrições, grupos/kit e labels (`unitPriceLabel`, `unitPriceFactor`). |\n\n### Erros\n\n| Código            | Condição                                  | O que fazer                                                                                       |\n| ----------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | A loja da conta autenticada está inativa. | A loja precisa estar ativa para servir o catálogo. Verifique o status da conta.                   |\n| _(sem código)_    | `Authorization` ausente ou inválido.      | Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça `signIn` e reenvie. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Slug inexistente **não** é erro: retorna `data.catalogItemProductBySlug = null`.\n\n### Notas\n\n- Diferente de `catalogItems`, esta operação sempre exige que o item seja **visível e publicado**: um produto oculto (`isVisible: false`), não publicado ou com slug inexistente resulta em `null`.\n- `filterSoldOutVariants: true` é útil para PDPs que não devem exibir variantes esgotadas.\n- O catálogo não expõe um campo de preço numérico calculado nesta versão — há apenas labels (`unitPriceLabel`, `unitPriceFactor`) no `CatalogProduct`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"catalogItemProductBySlug\": {\n      \"_id\": \"Example_ID\",\n      \"publishedUrl\": \"https://exemplo.com\",\n      \"shortDescription\": \"Example_String\",\n      \"cardDescription\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"product\": {\n        \"_id\": \"Example_ID\",\n        \"erpCode\": \"Example_String\",\n        \"barcode\": \"Example_String\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"description\": \"Example_String\",\n        \"height\": 99.99,\n        \"isDeleted\": true,\n        \"isVisible\": true,\n        \"length\": 99.99,\n        \"metaDescription\": \"Example_String\",\n        \"minOrderQuantity\": 10,\n        \"maxOrderQuantity\": 10,\n        \"originCountry\": \"Example_String\",\n        \"pageTitle\": \"Example_String\",\n        \"productId\": \"Example_ID\",\n        \"type\": \"PRODUCT_SIMPLE\",\n        \"productType\": \"SIMPLE\",\n        \"recurrenceAllowed\": true,\n        \"sku\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"supportedFulfillmentTypes\": [\n          \"SHIPPING\"\n        ],\n        \"title\": \"Example_String\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"vendor\": \"Example_String\",\n        \"sortIndex\": 10,\n        \"videoUrls\": [\n          \"https://exemplo.com\"\n        ],\n        \"weight\": 99.99,\n        \"width\": 99.99,\n        \"additionalInformation\": \"Example_String\",\n        \"measurementsInformation\": \"Example_String\",\n        \"requiredPicksPerGroup\": 10,\n        \"unitPriceLabel\": 99.99,\n        \"titleLabel\": \"Example_String\",\n        \"highlightLabel\": \"Example_String\",\n        \"kitGroupDescription\": \"Example_String\",\n        \"unitPriceFactor\": 99.99,\n        \"isBackorder\": true,\n        \"isLowQuantity\": true,\n        \"isSoldOut\": true,\n        \"tagIds\": [\n          \"Example_ID\"\n        ],\n        \"imageUrls\": [\n          \"https://exemplo.com\"\n        ]\n      },\n      \"shop\": {\n        \"_id\": \"Example_ID\",\n        \"description\": \"Example_String\",\n        \"isCompany\": true,\n        \"keywords\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"storeTemplateUrl\": \"https://exemplo.com\",\n        \"acceptsBoleto\": true,\n        \"acceptsCreditCard\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"domains\": [\n          \"Example_String\"\n        ],\n        \"trialRemainingDays\": 10,\n        \"sitemap\": \"Example_String\"\n      },\n      \"updatedAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"b854408e-dacd-46c3-9c48-6d7b4c02471d","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query CatalogItemProductBySlug($productSlug: String!, $booleanFilters: [CatalogBooleanFilter], $filterSoldOutVariants: Boolean) {\n  catalogItemProductBySlug(productSlug: $productSlug, booleanFilters: $booleanFilters, filterSoldOutVariants: $filterSoldOutVariants) {\n    _id\n    publishedUrl\n    shortDescription\n    cardDescription\n    createdAt\n    product {\n      _id\n      erpCode\n      barcode\n      createdAt\n      description\n      height\n      isDeleted\n      isVisible\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      originCountry\n      pageTitle\n      parcel {\n        containers\n        distanceUnit\n        height\n        length\n        massUnit\n        weight\n        width\n      }\n      primaryImage {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      productId\n      type\n      productType\n      recurrenceAllowed\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      title\n      updatedAt\n      variants {\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        quantity\n        primaryImage {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        variantId\n        productId\n        productERPCode\n        videoUrls\n        weight\n        width\n        canBackorder\n        inventoryAvailableToSell\n        inventoryInStock\n        isBackorder\n        isLowQuantity\n        isSoldOut\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        pricingOnRecurrence {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        isTaxable\n        taxCode\n        taxDescription\n        imageUrls\n      }\n      vendor\n      sortIndex\n      videoUrls\n      weight\n      width\n      additionalInformation\n      measurementsInformation\n      group {\n        label\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          slug\n          imageUrls\n        }\n      }\n      requiredPicksPerGroup\n      unitPriceLabel\n      titleLabel\n      highlightLabel\n      kitGroupDescription\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n      isBackorder\n      isLowQuantity\n      isSoldOut\n      pricing {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      pricingOnRecurrence {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      pricingPerUnit {\n        minCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        maxCompareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n        compareAtPrice\n        displayCompareAtPrice\n      }\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      imageUrls\n    }\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    updatedAt\n  }\n}","variables":"{\n  \"productSlug\": \"Example_String\",\n  \"booleanFilters\": [\n    {\n      \"name\": \"isDeleted\",\n      \"value\": 99.99,\n      \"onVariants\": true\n    }\n  ],\n  \"filterSoldOutVariants\": true\n}"}},"url":"{{base_url}}","description":"## catalogItemProductBySlug\n\n**Propósito:** Retorna um único produto do catálogo publicado da sua loja a partir do seu `slug` — a visão de catálogo do produto (título, mídia, variantes, descrições e labels), para renderizar a página de produto (PDP) do seu storefront.\n**Quando usar:** Para montar a PDP a partir do slug presente na URL. Para listar/filtrar vários itens, use `catalogItems`; para a visão administrativa do produto, use `product`/`products`.\n**Autenticação:** `x-api-key` + `Authorization`. O produto é sempre buscado dentro da loja da conta autenticada — o identificador da loja é derivado do seu token na borda, **não há argumento de loja nesta operação e você não o envia**. Envie sempre um `Authorization` válido: sem ele o escopo de loja não é aplicado e a chamada falha.\n\n### Argumentos\n\n| Nome                    | Tipo                     | Obrigatório | Default | Descrição                                                                               |\n| ----------------------- | ------------------------ | ----------- | ------- | --------------------------------------------------------------------------------------- |\n| `productSlug`           | `String!`                | Sim         | —       | Slug do produto no catálogo (o mesmo usado na URL do storefront).                       |\n| `booleanFilters`        | `[CatalogBooleanFilter]` | Não         | `null`  | Filtros booleanos adicionais aplicados ao item.                                         |\n| `filterSoldOutVariants` | `Boolean`                | Não         | `false` | Quando `true`, remove do resultado as variantes que não podem ser vendidas (esgotadas). |\n\n### Retorno\n\n`CatalogItemProduct` — o item de catálogo do tipo produto. Retorna `null` quando nenhum produto publicado e visível corresponde ao `slug` na loja.\n\n| Propriedade        | Tipo             | Descrição                                                                                                                                          |\n| ------------------ | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`              | `ID!`            | Identificador do item de catálogo.                                                                                                                 |\n| `publishedUrl`     | `String`         | URL publicada do produto no storefront.                                                                                                            |\n| `cardDescription`  | `String`         | Descrição curta para card/listagem.                                                                                                                |\n| `shortDescription` | `String`         | Descrição resumida do item.                                                                                                                        |\n| `product`          | `CatalogProduct` | Conteúdo do produto publicado: `title`, `slug`, `sku`, `media`, `variants`, descrições, grupos/kit e labels (`unitPriceLabel`, `unitPriceFactor`). |\n\n### Erros\n\n| Código            | Condição                                  | O que fazer                                                                                       |\n| ----------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | A loja da conta autenticada está inativa. | A loja precisa estar ativa para servir o catálogo. Verifique o status da conta.                   |\n| _(sem código)_    | `Authorization` ausente ou inválido.      | Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça `signIn` e reenvie. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Slug inexistente **não** é erro: retorna `data.catalogItemProductBySlug = null`.\n\n### Notas\n\n- Diferente de `catalogItems`, esta operação sempre exige que o item seja **visível e publicado**: um produto oculto (`isVisible: false`), não publicado ou com slug inexistente resulta em `null`.\n- `filterSoldOutVariants: true` é útil para PDPs que não devem exibir variantes esgotadas.\n- O catálogo não expõe um campo de preço numérico calculado nesta versão — há apenas labels (`unitPriceLabel`, `unitPriceFactor`) no `CatalogProduct`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"597d9c53-346c-52a6-a45d-74e1569de66b"}],"id":"45356b2b-4291-49e3-a2e6-fd1909f31955","_postman_id":"45356b2b-4291-49e3-a2e6-fd1909f31955","description":""}],"id":"f50ccc4d-8883-4c9d-bfc6-3a1c06b5366c","description":"<h1 id=\"catálogo-e-grupos-de-produtos\">Catálogo e Grupos de Produtos</h1>\n<p>Operações somente leitura sobre o catálogo publicado da loja e como seus produtos são agrupados. <code>catalogItems</code> lista os itens do catálogo publicado (com filtros e paginação) e <code>catalogItemProductBySlug</code> busca um item de produto por <code>slug</code> — a visão de vitrine (título, mídia, variantes, descrições, labels). <code>productGroup</code>/<code>productGroups</code> consultam como produtos são agrupados como opções relacionadas de um mesmo item — por exemplo, variações cadastradas como produtos separados, mas exibidas juntas para o comprador escolher entre elas: <code>productGroup</code> busca o grupo de um produto específico; <code>productGroups</code> lista todos os grupos cadastrados na loja.</p>\n<p>Em todas as operações deste domínio a loja é resolvida a partir da sua conta autenticada — você não envia nenhum argumento de loja.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum/Tipo</th>\n<th>Valores/Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>SortOrder</code></td>\n<td><code>asc</code>, <code>desc</code></td>\n<td>Direção de ordenação usada em <code>productGroups</code>. Se omitido, o padrão é <code>desc</code>.</td>\n</tr>\n<tr>\n<td><code>LinkedProduct</code></td>\n<td><code>productId</code>, <code>erpCode</code>, <code>title</code>, <code>label</code>, <code>slug</code>, <code>imageUrls</code>, <code>catalog</code></td>\n<td>Um produto vinculado dentro de um grupo. <code>title</code>/<code>label</code>/<code>slug</code> são congelados no momento em que o vínculo foi criado. <code>catalog</code> (<code>CatalogProduct</code>) traz o estado <em>atual</em> do produto vinculado e é resolvido individualmente — pode vir <code>null</code> se o produto vinculado foi excluído do catálogo ou nunca existiu, mesmo com <code>title</code>/<code>slug</code> ainda presentes.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Só <code>productGroup</code> tem o <code>shopId</code> injetado a partir do seu token.</strong> Em ambas as operações a loja é resolvida pela sua conta autenticada, mas apenas <code>productGroup</code> precisa desse valor como argumento — <code>productGroups</code> não expõe (nem aceita) nenhum argumento de loja.</li>\n<li><strong>Grupo/lista vazia não é erro.</strong> Um grupo inativo, excluído, ou que não existe para o <code>productId</code>/<code>erpCode</code> informado faz <code>productGroup</code> retornar <code>null</code>. <code>productGroups</code> sempre retorna uma connection (nunca <code>null</code>), possivelmente com <code>nodes: []</code>.</li>\n<li><strong>Paginação Relay (<code>productGroups</code>, <code>catalogItems</code>).</strong> Retorna uma connection com <code>edges</code> (<code>{ cursor, node }</code>), <code>nodes</code> (atalho sem o wrapper de cursor), <code>pageInfo</code> (<code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>) e <code>totalCount</code>. Para avançar, envie <code>first</code> + <code>after: &lt;pageInfo.endCursor&gt;</code>; para retroceder, <code>last</code> + <code>before: &lt;pageInfo.startCursor&gt;</code>. Alternativamente, <code>offset</code> pagina por deslocamento numérico — não combine <code>last</code> com <code>offset</code> na mesma chamada (erro de validação). <code>first</code>/<code>last</code> aceitam de 1 a 50; se nenhum for enviado, o tamanho de página padrão é 20.</li>\n<li><strong>O tratamento de produtos vinculados difere entre as duas operações.</strong> <code>productGroup</code> filtra os <code>linkedProducts</code> (excluindo vinculados com catálogo removido ou esgotados, salvo flags) e popula <code>imageUrls</code>; <code>productGroups</code> retorna os <code>linkedProducts</code> como cadastrados e não popula <code>imageUrls</code>. Ver as Notas de cada operação para o comportamento exato e como usar <code>linkedProducts[].catalog</code> para checar a validade do seu lado.</li>\n</ul>\n","_postman_id":"f50ccc4d-8883-4c9d-bfc6-3a1c06b5366c"},{"name":"Discounts Codes","item":[{"name":"Query","item":[{"name":"[Query] discountCode","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns discountCode data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"discountCode\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"discountCode returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.discountCode;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.calculation !== undefined && data.calculation !== null) {","            pm.expect(data.calculation).to.be.an(\"object\");","        }","        if (data.code !== undefined && data.code !== null) {","            pm.expect(typeof data.code).to.equal(\"string\");","        }","        if (data.conditions !== undefined && data.conditions !== null) {","            pm.expect(data.conditions).to.be.an(\"object\");","        }","        if (data.description !== undefined && data.description !== null) {","            pm.expect(typeof data.description).to.equal(\"string\");","        }","        if (data.discountMethod !== undefined && data.discountMethod !== null) {","            pm.expect(typeof data.discountMethod).to.equal(\"string\");","        }","        if (data.label !== undefined && data.label !== null) {","            pm.expect(typeof data.label).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"shop\");","        if (data.shop !== undefined && data.shop !== null) {","            pm.expect(data.shop).to.be.an(\"object\");","        }","        if (data.transactions !== undefined && data.transactions !== null) {","            pm.expect(data.transactions).to.be.an(\"array\");","        }","        pm.expect(data).to.have.property(\"enabled\");","        if (data.enabled !== undefined && data.enabled !== null) {","            pm.expect(typeof data.enabled).to.equal(\"boolean\");","        }","    }","});"]}}],"id":"d7bdacf5-6a9e-51d9-a5fa-eade5724c90c","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCode($discountCodeId: ID!) {\n  discountCode(discountCodeId: $discountCodeId) {\n    _id\n    code\n    conditions {\n      accountLimit\n      redemptionLimit\n      recurrenceCycleLimit\n      startDate\n      endDate\n      max\n      min\n      productType\n      tags\n      audience\n      permissions\n      products\n    }\n    description\n    discountMethod\n    label\n    shop {\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    transactions {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    enabled\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"discountCodeId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"discountcode\">discountCode</h2>\n<p><strong>Propósito:</strong> Retorna um cupom de desconto específico da sua loja, pelo ID.\n<strong>Quando usar:</strong> Para verificar o estado atual de um cupom já conhecido (habilitado, condições, vigência) antes de exibi-lo, atualizá-lo ou removê-lo.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A busca é restrita à sua loja autenticada — esta operação não recebe um argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>discountCodeId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do cupom de desconto a buscar.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>Discount</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>ID do cupom.</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td><code>String</code></td>\n<td>O código que o comprador digita para aplicar o desconto.</td>\n</tr>\n<tr>\n<td><code>label</code></td>\n<td><code>String</code></td>\n<td>Rótulo descritivo do cupom, para uso interno da sua equipe.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td><code>String</code></td>\n<td>Descrição livre do cupom.</td>\n</tr>\n<tr>\n<td><code>discountMethod</code></td>\n<td><code>DiscountMethodEnum</code></td>\n<td>Sempre <code>CODE</code> para cupons retornados por esta operação.</td>\n</tr>\n<tr>\n<td><code>calculation</code></td>\n<td><code>DiscountCalculation</code></td>\n<td>Como o desconto é calculado. O formato varia por <code>method</code> — ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder.</td>\n</tr>\n<tr>\n<td><code>conditions</code></td>\n<td><code>DiscountConditions</code></td>\n<td>Condições de aplicação (limites, datas de vigência, tipo de produto). Ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder.</td>\n</tr>\n<tr>\n<td><code>enabled</code></td>\n<td><code>Boolean!</code></td>\n<td>Se o cupom está habilitado para uso.</td>\n</tr>\n<tr>\n<td><code>shop</code></td>\n<td><code>Shop!</code></td>\n<td>A loja à qual este cupom pertence.</td>\n</tr>\n<tr>\n<td><code>transactions</code></td>\n<td><code>[Order]</code></td>\n<td>Pedidos em que este cupom já foi utilizado.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Data de criação do cupom.</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Data da última atualização do cupom.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DISCOUNT_CODE_NOT_FOUND_ERROR</code></td>\n<td><code>discountCodeId</code> não existe, pertence a outra loja, foi removido (soft-delete) ou não é um cupom por código.</td>\n<td>Confirme o ID e que o cupom ainda não foi removido; use <code>discountCodes</code> para localizar o ID correto.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Cupons removidos (soft-delete) são tratados como inexistentes.</strong> Depois de um <code>deleteDiscountCode</code>, esta busca passa a retornar <code>DISCOUNT_CODE_NOT_FOUND_ERROR</code> para o mesmo ID.</li>\n<li><strong>Só cupons por código.</strong> Se o ID pertencer a um desconto automático de loja (sem código), esta operação também retorna <code>DISCOUNT_CODE_NOT_FOUND_ERROR</code>, como se não existisse.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3e7f0ad2-1390-431a-96c5-7753079e91f3","name":"200 - discountCode","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCode($discountCodeId: ID!) {\n  discountCode(discountCodeId: $discountCodeId) {\n    _id\n    code\n    conditions {\n      accountLimit\n      redemptionLimit\n      recurrenceCycleLimit\n      startDate\n      endDate\n      max\n      min\n      productType\n      tags\n      audience\n      permissions\n      products\n    }\n    description\n    discountMethod\n    label\n    shop {\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    transactions {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    enabled\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"discountCodeId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## discountCode\n\n**Propósito:** Retorna um cupom de desconto específico da sua loja, pelo ID.\n**Quando usar:** Para verificar o estado atual de um cupom já conhecido (habilitado, condições, vigência) antes de exibi-lo, atualizá-lo ou removê-lo.\n**Autenticação:** `x-api-key` + `Authorization`. A busca é restrita à sua loja autenticada — esta operação não recebe um argumento de loja.\n\n### Argumentos\n\n| Nome             | Tipo  | Obrigatório | Default | Descrição                         |\n| ---------------- | ----- | ----------- | ------- | --------------------------------- |\n| `discountCodeId` | `ID!` | Sim         | —       | ID do cupom de desconto a buscar. |\n\n### Retorno\n\n`Discount`:\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                    |\n| ---------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`            | `ID!`                 | ID do cupom.                                                                                                                                 |\n| `code`           | `String`              | O código que o comprador digita para aplicar o desconto.                                                                                     |\n| `label`          | `String`              | Rótulo descritivo do cupom, para uso interno da sua equipe.                                                                                  |\n| `description`    | `String`              | Descrição livre do cupom.                                                                                                                    |\n| `discountMethod` | `DiscountMethodEnum`  | Sempre `CODE` para cupons retornados por esta operação.                                                                                      |\n| `calculation`    | `DiscountCalculation` | Como o desconto é calculado. O formato varia por `method` — ver a seção **Tipos e enums compartilhados** na descrição deste folder.           |\n| `conditions`     | `DiscountConditions`  | Condições de aplicação (limites, datas de vigência, tipo de produto). Ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n| `enabled`        | `Boolean!`            | Se o cupom está habilitado para uso.                                                                                                         |\n| `shop`           | `Shop!`               | A loja à qual este cupom pertence.                                                                                                           |\n| `transactions`   | `[Order]`             | Pedidos em que este cupom já foi utilizado.                                                                                                  |\n| `createdAt`      | `AWSDateTime!`        | Data de criação do cupom.                                                                                                                    |\n| `updatedAt`      | `AWSDateTime!`        | Data da última atualização do cupom.                                                                                                         |\n\n### Erros\n\n| Código                          | Condição                                                                                                     | O que fazer                                                                                          |\n| ------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR` | `discountCodeId` não existe, pertence a outra loja, foi removido (soft-delete) ou não é um cupom por código. | Confirme o ID e que o cupom ainda não foi removido; use `discountCodes` para localizar o ID correto. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Cupons removidos (soft-delete) são tratados como inexistentes.** Depois de um `deleteDiscountCode`, esta busca passa a retornar `DISCOUNT_CODE_NOT_FOUND_ERROR` para o mesmo ID.\n- **Só cupons por código.** Se o ID pertencer a um desconto automático de loja (sem código), esta operação também retorna `DISCOUNT_CODE_NOT_FOUND_ERROR`, como se não existisse."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"discountCode\": {\n      \"_id\": \"Example_ID\",\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"redemptionLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"shop\": {\n        \"_id\": \"Example_ID\",\n        \"description\": \"Example_String\",\n        \"isCompany\": true,\n        \"keywords\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"storeTemplateUrl\": \"https://exemplo.com\",\n        \"acceptsBoleto\": true,\n        \"acceptsCreditCard\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"domains\": [\n          \"Example_String\"\n        ],\n        \"trialRemainingDays\": 10,\n        \"sitemap\": \"Example_String\"\n      },\n      \"transactions\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"cartId\": \"Example_ID\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"displayStatus\": \"Example_String\",\n          \"email\": \"cliente@exemplo.com\",\n          \"recurringOrderId\": \"Example_String\",\n          \"recurringOrderCycleId\": \"Example_String\",\n          \"generatedNewRecurringOrder\": true,\n          \"recurringOrderFrequencyId\": \"Example_String\",\n          \"referenceId\": \"Example_String\",\n          \"source\": \"Example_String\",\n          \"status\": \"CANCELED\",\n          \"totalItemQuantity\": 10,\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"invoiceIssued\": true,\n          \"sentToERP\": true,\n          \"soldToCompany\": true,\n          \"sentToLP\": true,\n          \"dispatched\": true,\n          \"delivered\": true,\n          \"problemDelivering\": true,\n          \"isBoletoPaid\": true,\n          \"shippingLabelPending\": true,\n          \"shippingLabelFailed\": true\n        }\n      ],\n      \"enabled\": true,\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"27cbb344-f658-4565-849d-7de8e227211f","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCode($discountCodeId: ID!) {\n  discountCode(discountCodeId: $discountCodeId) {\n    _id\n    code\n    conditions {\n      accountLimit\n      redemptionLimit\n      recurrenceCycleLimit\n      startDate\n      endDate\n      max\n      min\n      productType\n      tags\n      audience\n      permissions\n      products\n    }\n    description\n    discountMethod\n    label\n    shop {\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    transactions {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    enabled\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"discountCodeId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## discountCode\n\n**Propósito:** Retorna um cupom de desconto específico da sua loja, pelo ID.\n**Quando usar:** Para verificar o estado atual de um cupom já conhecido (habilitado, condições, vigência) antes de exibi-lo, atualizá-lo ou removê-lo.\n**Autenticação:** `x-api-key` + `Authorization`. A busca é restrita à sua loja autenticada — esta operação não recebe um argumento de loja.\n\n### Argumentos\n\n| Nome             | Tipo  | Obrigatório | Default | Descrição                         |\n| ---------------- | ----- | ----------- | ------- | --------------------------------- |\n| `discountCodeId` | `ID!` | Sim         | —       | ID do cupom de desconto a buscar. |\n\n### Retorno\n\n`Discount`:\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                    |\n| ---------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`            | `ID!`                 | ID do cupom.                                                                                                                                 |\n| `code`           | `String`              | O código que o comprador digita para aplicar o desconto.                                                                                     |\n| `label`          | `String`              | Rótulo descritivo do cupom, para uso interno da sua equipe.                                                                                  |\n| `description`    | `String`              | Descrição livre do cupom.                                                                                                                    |\n| `discountMethod` | `DiscountMethodEnum`  | Sempre `CODE` para cupons retornados por esta operação.                                                                                      |\n| `calculation`    | `DiscountCalculation` | Como o desconto é calculado. O formato varia por `method` — ver a seção **Tipos e enums compartilhados** na descrição deste folder.           |\n| `conditions`     | `DiscountConditions`  | Condições de aplicação (limites, datas de vigência, tipo de produto). Ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n| `enabled`        | `Boolean!`            | Se o cupom está habilitado para uso.                                                                                                         |\n| `shop`           | `Shop!`               | A loja à qual este cupom pertence.                                                                                                           |\n| `transactions`   | `[Order]`             | Pedidos em que este cupom já foi utilizado.                                                                                                  |\n| `createdAt`      | `AWSDateTime!`        | Data de criação do cupom.                                                                                                                    |\n| `updatedAt`      | `AWSDateTime!`        | Data da última atualização do cupom.                                                                                                         |\n\n### Erros\n\n| Código                          | Condição                                                                                                     | O que fazer                                                                                          |\n| ------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR` | `discountCodeId` não existe, pertence a outra loja, foi removido (soft-delete) ou não é um cupom por código. | Confirme o ID e que o cupom ainda não foi removido; use `discountCodes` para localizar o ID correto. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Cupons removidos (soft-delete) são tratados como inexistentes.** Depois de um `deleteDiscountCode`, esta busca passa a retornar `DISCOUNT_CODE_NOT_FOUND_ERROR` para o mesmo ID.\n- **Só cupons por código.** Se o ID pertencer a um desconto automático de loja (sem código), esta operação também retorna `DISCOUNT_CODE_NOT_FOUND_ERROR`, como se não existisse."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"5dbabe69-b43b-48ba-bd92-556515da39b0","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCode($discountCodeId: ID!) {\n  discountCode(discountCodeId: $discountCodeId) {\n    _id\n    code\n    conditions {\n      accountLimit\n      redemptionLimit\n      recurrenceCycleLimit\n      startDate\n      endDate\n      max\n      min\n      productType\n      tags\n      audience\n      permissions\n      products\n    }\n    description\n    discountMethod\n    label\n    shop {\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    transactions {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    enabled\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"discountCodeId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## discountCode\n\n**Propósito:** Retorna um cupom de desconto específico da sua loja, pelo ID.\n**Quando usar:** Para verificar o estado atual de um cupom já conhecido (habilitado, condições, vigência) antes de exibi-lo, atualizá-lo ou removê-lo.\n**Autenticação:** `x-api-key` + `Authorization`. A busca é restrita à sua loja autenticada — esta operação não recebe um argumento de loja.\n\n### Argumentos\n\n| Nome             | Tipo  | Obrigatório | Default | Descrição                         |\n| ---------------- | ----- | ----------- | ------- | --------------------------------- |\n| `discountCodeId` | `ID!` | Sim         | —       | ID do cupom de desconto a buscar. |\n\n### Retorno\n\n`Discount`:\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                    |\n| ---------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`            | `ID!`                 | ID do cupom.                                                                                                                                 |\n| `code`           | `String`              | O código que o comprador digita para aplicar o desconto.                                                                                     |\n| `label`          | `String`              | Rótulo descritivo do cupom, para uso interno da sua equipe.                                                                                  |\n| `description`    | `String`              | Descrição livre do cupom.                                                                                                                    |\n| `discountMethod` | `DiscountMethodEnum`  | Sempre `CODE` para cupons retornados por esta operação.                                                                                      |\n| `calculation`    | `DiscountCalculation` | Como o desconto é calculado. O formato varia por `method` — ver a seção **Tipos e enums compartilhados** na descrição deste folder.           |\n| `conditions`     | `DiscountConditions`  | Condições de aplicação (limites, datas de vigência, tipo de produto). Ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n| `enabled`        | `Boolean!`            | Se o cupom está habilitado para uso.                                                                                                         |\n| `shop`           | `Shop!`               | A loja à qual este cupom pertence.                                                                                                           |\n| `transactions`   | `[Order]`             | Pedidos em que este cupom já foi utilizado.                                                                                                  |\n| `createdAt`      | `AWSDateTime!`        | Data de criação do cupom.                                                                                                                    |\n| `updatedAt`      | `AWSDateTime!`        | Data da última atualização do cupom.                                                                                                         |\n\n### Erros\n\n| Código                          | Condição                                                                                                     | O que fazer                                                                                          |\n| ------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR` | `discountCodeId` não existe, pertence a outra loja, foi removido (soft-delete) ou não é um cupom por código. | Confirme o ID e que o cupom ainda não foi removido; use `discountCodes` para localizar o ID correto. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Cupons removidos (soft-delete) são tratados como inexistentes.** Depois de um `deleteDiscountCode`, esta busca passa a retornar `DISCOUNT_CODE_NOT_FOUND_ERROR` para o mesmo ID.\n- **Só cupons por código.** Se o ID pertencer a um desconto automático de loja (sem código), esta operação também retorna `DISCOUNT_CODE_NOT_FOUND_ERROR`, como se não existisse."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"d7bdacf5-6a9e-51d9-a5fa-eade5724c90c"},{"name":"[Query] discountCodes","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns discountCodes data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"discountCodes\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"discountCodes returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.discountCodes;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"d9ff7138-2c5e-5cbe-a763-2de09c625b1e","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCodes($filters: DiscountCodeFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: DiscountCodesSortByField) {\n  discountCodes(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"searchField\": \"Example_String\",\n    \"code\": \"Example_String\",\n    \"enabled\": true,\n    \"calculationMethod\": [\n      \"DISCOUNT\"\n    ],\n    \"redemptionLimitReached\": true,\n    \"productType\": [\n      \"ALL\"\n    ],\n    \"startDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"endDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"createdAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"updatedAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"amountOfRedemptions\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"discountcodes\">discountCodes</h2>\n<p><strong>Propósito:</strong> Lista os cupons de desconto da sua loja, com filtros e paginação.\n<strong>Quando usar:</strong> Para pesquisar/exibir o catálogo de cupons cadastrados (ex.: um painel de gestão de descontos), ou para localizar o ID de um cupom antes de atualizá-lo/removê-lo.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O <code>shopId</code> é injetado a partir do seu token — não envie esse argumento.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>DiscountCodeFilterInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Filtros a aplicar. Ver tabela abaixo.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados. Pode ser combinado com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados. Pode ser combinado com <code>before</code>.</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Pula os N primeiros resultados. Pode ser combinado com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Ordem dos resultados (<code>asc</code>/<code>desc</code>).</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>DiscountCodesSortByField</code></td>\n<td>Não</td>\n<td><code>createdAt</code></td>\n<td>Campo de ordenação — ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-filters-discountcodefilterinput\">Campos de <code>filters</code> (<code>DiscountCodeFilterInput</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>searchField</code></td>\n<td><code>String</code></td>\n<td>Busca livre por <code>code</code>, <code>label</code> ou <code>description</code> (parcial, sem diferenciar maiúsculas/minúsculas).</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td><code>String</code></td>\n<td>Filtra por <code>code</code> (busca parcial, sem diferenciar maiúsculas/minúsculas).</td>\n</tr>\n<tr>\n<td><code>enabled</code></td>\n<td><code>Boolean</code></td>\n<td>Filtra por cupons habilitados (<code>true</code>) ou desabilitados (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>calculationMethod</code></td>\n<td><code>[DiscountCalculationMethodEnum]</code></td>\n<td>Filtra por um ou mais métodos de cálculo — ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder.</td>\n</tr>\n<tr>\n<td><code>redemptionLimitReached</code></td>\n<td><code>Boolean</code></td>\n<td>Filtra cupons que já atingiram (ou não) o limite de resgates definido em <code>conditions.redemptionLimit</code>.</td>\n</tr>\n<tr>\n<td><code>productType</code></td>\n<td><code>[DiscountProductTypeEnum]</code></td>\n<td>Filtra por um ou mais tipos de produto elegíveis (<code>conditions.productType</code>).</td>\n</tr>\n<tr>\n<td><code>startDate</code> / <code>endDate</code></td>\n<td><code>DateTimeFilterByRangeInput</code></td>\n<td>Filtra por intervalo de datas de início/fim de vigência (<code>conditions.startDate</code>/<code>endDate</code>). Aceita <code>eq</code>, <code>gt</code>, <code>gte</code>, <code>lt</code>, <code>lte</code>.</td>\n</tr>\n<tr>\n<td><code>createdAt</code> / <code>updatedAt</code></td>\n<td><code>DateTimeFilterByRangeInput</code></td>\n<td>Filtra por intervalo de datas de criação/atualização do cupom.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>DiscountCodeConnection</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[Discount]</code></td>\n<td>Lista direta de cupons, sem o envelope de paginação. Mesmos campos de <code>discountCode</code>.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[DiscountCodeEdge]</code></td>\n<td>Cada item envolvido em um <code>cursor</code>, para uso em paginação.</td>\n</tr>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor do item, use em <code>after</code>/<code>before</code> na próxima chamada.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code></td>\n<td><code>Discount</code></td>\n<td>O cupom. Mesmos campos de <code>discountCode</code>.</td>\n</tr>\n<tr>\n<td><code>pageInfo</code></td>\n<td><code>PageInfo!</code></td>\n<td>Informações de paginação (se há próxima/página anterior).</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de cupons que casam com os filtros, independente da página atual.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<p>Nenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (<code>access_token</code> ausente ou expirado) seguem o padrão geral descrito na Overview.</p>\n<blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Esta operação só retorna cupons por código (<code>discountMethod: CODE</code>).</strong> A API de parceiros força esse filtro do seu lado — não há um argumento <code>discountMethod</code> para pedir outros métodos (ex.: descontos automáticos de loja).</li>\n<li><strong>Cupons removidos (soft-delete) e descontos automáticos de loja nunca aparecem nesta lista</strong>, independentemente dos filtros usados.</li>\n<li><strong><code>sortBy: amountOfRedemptions</code> ordena por um valor que não é exposto no retorno.</strong> Você pode ordenar por quantidade de resgates, mas essa contagem não aparece em nenhum campo de <code>Discount</code> — para exibi-la ao usuário, mantenha sua própria contagem ou trate a ordenação como um recurso de exibição sem valor numérico associado.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cf7ed3fd-5940-499c-81ce-36e53e16be42","name":"200 - discountCodes","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCodes($filters: DiscountCodeFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: DiscountCodesSortByField) {\n  discountCodes(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"searchField\": \"Example_String\",\n    \"code\": \"Example_String\",\n    \"enabled\": true,\n    \"calculationMethod\": [\n      \"DISCOUNT\"\n    ],\n    \"redemptionLimitReached\": true,\n    \"productType\": [\n      \"ALL\"\n    ],\n    \"startDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"endDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"createdAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"updatedAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"amountOfRedemptions\"\n}"}},"url":"{{base_url}}","description":"## discountCodes\n\n**Propósito:** Lista os cupons de desconto da sua loja, com filtros e paginação.\n**Quando usar:** Para pesquisar/exibir o catálogo de cupons cadastrados (ex.: um painel de gestão de descontos), ou para localizar o ID de um cupom antes de atualizá-lo/removê-lo.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                    |\n| ----------- | -------------------------- | ----------- | ----------- | -------------------------------------------------------------------------------------------- |\n| `filters`   | `DiscountCodeFilterInput`  | Não         | —           | Filtros a aplicar. Ver tabela abaixo.                                                        |\n| `after`     | `String`                   | Não         | —           | Retorna resultados após este cursor. Use com `first`.                                        |\n| `before`    | `String`                   | Não         | —           | Retorna resultados antes deste cursor. Use com `last`.                                       |\n| `first`     | `Int`                      | Não         | —           | Quantidade máxima de resultados. Pode ser combinado com `after` ou `offset`.                 |\n| `last`      | `Int`                      | Não         | —           | Quantidade máxima de resultados. Pode ser combinado com `before`.                            |\n| `offset`    | `Int`                      | Não         | —           | Pula os N primeiros resultados. Pode ser combinado com `first`.                              |\n| `sortOrder` | `SortOrder`                | Não         | `desc`      | Ordem dos resultados (`asc`/`desc`).                                                         |\n| `sortBy`    | `DiscountCodesSortByField` | Não         | `createdAt` | Campo de ordenação — ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n\n#### Campos de `filters` (`DiscountCodeFilterInput`)\n\n| Campo                     | Tipo                              | Descrição                                                                                                                          |\n| ------------------------- | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| `searchField`             | `String`                          | Busca livre por `code`, `label` ou `description` (parcial, sem diferenciar maiúsculas/minúsculas).                                 |\n| `code`                    | `String`                          | Filtra por `code` (busca parcial, sem diferenciar maiúsculas/minúsculas).                                                          |\n| `enabled`                 | `Boolean`                         | Filtra por cupons habilitados (`true`) ou desabilitados (`false`).                                                                 |\n| `calculationMethod`       | `[DiscountCalculationMethodEnum]` | Filtra por um ou mais métodos de cálculo — ver a seção **Tipos e enums compartilhados** na descrição deste folder.                 |\n| `redemptionLimitReached`  | `Boolean`                         | Filtra cupons que já atingiram (ou não) o limite de resgates definido em `conditions.redemptionLimit`.                             |\n| `productType`             | `[DiscountProductTypeEnum]`       | Filtra por um ou mais tipos de produto elegíveis (`conditions.productType`).                                                       |\n| `startDate` / `endDate`   | `DateTimeFilterByRangeInput`      | Filtra por intervalo de datas de início/fim de vigência (`conditions.startDate`/`endDate`). Aceita `eq`, `gt`, `gte`, `lt`, `lte`. |\n| `createdAt` / `updatedAt` | `DateTimeFilterByRangeInput`      | Filtra por intervalo de datas de criação/atualização do cupom.                                                                     |\n\n### Retorno\n\n`DiscountCodeConnection`:\n\n| Propriedade      | Tipo                 | Descrição                                                                             |\n| ---------------- | -------------------- | ------------------------------------------------------------------------------------- |\n| `nodes`          | `[Discount]`         | Lista direta de cupons, sem o envelope de paginação. Mesmos campos de `discountCode`. |\n| `edges`          | `[DiscountCodeEdge]` | Cada item envolvido em um `cursor`, para uso em paginação.                            |\n| `edges[].cursor` | `String!`            | Cursor do item, use em `after`/`before` na próxima chamada.                           |\n| `edges[].node`   | `Discount`           | O cupom. Mesmos campos de `discountCode`.                                             |\n| `pageInfo`       | `PageInfo!`          | Informações de paginação (se há próxima/página anterior).                             |\n| `totalCount`     | `Int!`               | Total de cupons que casam com os filtros, independente da página atual.               |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Esta operação só retorna cupons por código (`discountMethod: CODE`).** A API de parceiros força esse filtro do seu lado — não há um argumento `discountMethod` para pedir outros métodos (ex.: descontos automáticos de loja).\n- **Cupons removidos (soft-delete) e descontos automáticos de loja nunca aparecem nesta lista**, independentemente dos filtros usados.\n- **`sortBy: amountOfRedemptions` ordena por um valor que não é exposto no retorno.** Você pode ordenar por quantidade de resgates, mas essa contagem não aparece em nenhum campo de `Discount` — para exibi-la ao usuário, mantenha sua própria contagem ou trate a ordenação como um recurso de exibição sem valor numérico associado."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"discountCodes\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"code\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"discountMethod\": \"CODE\",\n          \"label\": \"Example_String\",\n          \"enabled\": true,\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\"\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"cf88de14-76f7-4179-8ca3-6145ceefb2a3","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCodes($filters: DiscountCodeFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: DiscountCodesSortByField) {\n  discountCodes(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"searchField\": \"Example_String\",\n    \"code\": \"Example_String\",\n    \"enabled\": true,\n    \"calculationMethod\": [\n      \"DISCOUNT\"\n    ],\n    \"redemptionLimitReached\": true,\n    \"productType\": [\n      \"ALL\"\n    ],\n    \"startDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"endDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"createdAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"updatedAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"amountOfRedemptions\"\n}"}},"url":"{{base_url}}","description":"## discountCodes\n\n**Propósito:** Lista os cupons de desconto da sua loja, com filtros e paginação.\n**Quando usar:** Para pesquisar/exibir o catálogo de cupons cadastrados (ex.: um painel de gestão de descontos), ou para localizar o ID de um cupom antes de atualizá-lo/removê-lo.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                    |\n| ----------- | -------------------------- | ----------- | ----------- | -------------------------------------------------------------------------------------------- |\n| `filters`   | `DiscountCodeFilterInput`  | Não         | —           | Filtros a aplicar. Ver tabela abaixo.                                                        |\n| `after`     | `String`                   | Não         | —           | Retorna resultados após este cursor. Use com `first`.                                        |\n| `before`    | `String`                   | Não         | —           | Retorna resultados antes deste cursor. Use com `last`.                                       |\n| `first`     | `Int`                      | Não         | —           | Quantidade máxima de resultados. Pode ser combinado com `after` ou `offset`.                 |\n| `last`      | `Int`                      | Não         | —           | Quantidade máxima de resultados. Pode ser combinado com `before`.                            |\n| `offset`    | `Int`                      | Não         | —           | Pula os N primeiros resultados. Pode ser combinado com `first`.                              |\n| `sortOrder` | `SortOrder`                | Não         | `desc`      | Ordem dos resultados (`asc`/`desc`).                                                         |\n| `sortBy`    | `DiscountCodesSortByField` | Não         | `createdAt` | Campo de ordenação — ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n\n#### Campos de `filters` (`DiscountCodeFilterInput`)\n\n| Campo                     | Tipo                              | Descrição                                                                                                                          |\n| ------------------------- | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| `searchField`             | `String`                          | Busca livre por `code`, `label` ou `description` (parcial, sem diferenciar maiúsculas/minúsculas).                                 |\n| `code`                    | `String`                          | Filtra por `code` (busca parcial, sem diferenciar maiúsculas/minúsculas).                                                          |\n| `enabled`                 | `Boolean`                         | Filtra por cupons habilitados (`true`) ou desabilitados (`false`).                                                                 |\n| `calculationMethod`       | `[DiscountCalculationMethodEnum]` | Filtra por um ou mais métodos de cálculo — ver a seção **Tipos e enums compartilhados** na descrição deste folder.                 |\n| `redemptionLimitReached`  | `Boolean`                         | Filtra cupons que já atingiram (ou não) o limite de resgates definido em `conditions.redemptionLimit`.                             |\n| `productType`             | `[DiscountProductTypeEnum]`       | Filtra por um ou mais tipos de produto elegíveis (`conditions.productType`).                                                       |\n| `startDate` / `endDate`   | `DateTimeFilterByRangeInput`      | Filtra por intervalo de datas de início/fim de vigência (`conditions.startDate`/`endDate`). Aceita `eq`, `gt`, `gte`, `lt`, `lte`. |\n| `createdAt` / `updatedAt` | `DateTimeFilterByRangeInput`      | Filtra por intervalo de datas de criação/atualização do cupom.                                                                     |\n\n### Retorno\n\n`DiscountCodeConnection`:\n\n| Propriedade      | Tipo                 | Descrição                                                                             |\n| ---------------- | -------------------- | ------------------------------------------------------------------------------------- |\n| `nodes`          | `[Discount]`         | Lista direta de cupons, sem o envelope de paginação. Mesmos campos de `discountCode`. |\n| `edges`          | `[DiscountCodeEdge]` | Cada item envolvido em um `cursor`, para uso em paginação.                            |\n| `edges[].cursor` | `String!`            | Cursor do item, use em `after`/`before` na próxima chamada.                           |\n| `edges[].node`   | `Discount`           | O cupom. Mesmos campos de `discountCode`.                                             |\n| `pageInfo`       | `PageInfo!`          | Informações de paginação (se há próxima/página anterior).                             |\n| `totalCount`     | `Int!`               | Total de cupons que casam com os filtros, independente da página atual.               |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Esta operação só retorna cupons por código (`discountMethod: CODE`).** A API de parceiros força esse filtro do seu lado — não há um argumento `discountMethod` para pedir outros métodos (ex.: descontos automáticos de loja).\n- **Cupons removidos (soft-delete) e descontos automáticos de loja nunca aparecem nesta lista**, independentemente dos filtros usados.\n- **`sortBy: amountOfRedemptions` ordena por um valor que não é exposto no retorno.** Você pode ordenar por quantidade de resgates, mas essa contagem não aparece em nenhum campo de `Discount` — para exibi-la ao usuário, mantenha sua própria contagem ou trate a ordenação como um recurso de exibição sem valor numérico associado."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"1f3c21c0-7d49-432a-ab96-ca09d9c9f258","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query DiscountCodes($filters: DiscountCodeFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: DiscountCodesSortByField) {\n  discountCodes(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n    }\n    nodes {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"searchField\": \"Example_String\",\n    \"code\": \"Example_String\",\n    \"enabled\": true,\n    \"calculationMethod\": [\n      \"DISCOUNT\"\n    ],\n    \"redemptionLimitReached\": true,\n    \"productType\": [\n      \"ALL\"\n    ],\n    \"startDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"endDate\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"createdAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"updatedAt\": {\n      \"eq\": \"2025-01-15T10:00:00Z\",\n      \"gt\": \"2025-01-15T10:00:00Z\",\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lt\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"amountOfRedemptions\"\n}"}},"url":"{{base_url}}","description":"## discountCodes\n\n**Propósito:** Lista os cupons de desconto da sua loja, com filtros e paginação.\n**Quando usar:** Para pesquisar/exibir o catálogo de cupons cadastrados (ex.: um painel de gestão de descontos), ou para localizar o ID de um cupom antes de atualizá-lo/removê-lo.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                    |\n| ----------- | -------------------------- | ----------- | ----------- | -------------------------------------------------------------------------------------------- |\n| `filters`   | `DiscountCodeFilterInput`  | Não         | —           | Filtros a aplicar. Ver tabela abaixo.                                                        |\n| `after`     | `String`                   | Não         | —           | Retorna resultados após este cursor. Use com `first`.                                        |\n| `before`    | `String`                   | Não         | —           | Retorna resultados antes deste cursor. Use com `last`.                                       |\n| `first`     | `Int`                      | Não         | —           | Quantidade máxima de resultados. Pode ser combinado com `after` ou `offset`.                 |\n| `last`      | `Int`                      | Não         | —           | Quantidade máxima de resultados. Pode ser combinado com `before`.                            |\n| `offset`    | `Int`                      | Não         | —           | Pula os N primeiros resultados. Pode ser combinado com `first`.                              |\n| `sortOrder` | `SortOrder`                | Não         | `desc`      | Ordem dos resultados (`asc`/`desc`).                                                         |\n| `sortBy`    | `DiscountCodesSortByField` | Não         | `createdAt` | Campo de ordenação — ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n\n#### Campos de `filters` (`DiscountCodeFilterInput`)\n\n| Campo                     | Tipo                              | Descrição                                                                                                                          |\n| ------------------------- | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| `searchField`             | `String`                          | Busca livre por `code`, `label` ou `description` (parcial, sem diferenciar maiúsculas/minúsculas).                                 |\n| `code`                    | `String`                          | Filtra por `code` (busca parcial, sem diferenciar maiúsculas/minúsculas).                                                          |\n| `enabled`                 | `Boolean`                         | Filtra por cupons habilitados (`true`) ou desabilitados (`false`).                                                                 |\n| `calculationMethod`       | `[DiscountCalculationMethodEnum]` | Filtra por um ou mais métodos de cálculo — ver a seção **Tipos e enums compartilhados** na descrição deste folder.                 |\n| `redemptionLimitReached`  | `Boolean`                         | Filtra cupons que já atingiram (ou não) o limite de resgates definido em `conditions.redemptionLimit`.                             |\n| `productType`             | `[DiscountProductTypeEnum]`       | Filtra por um ou mais tipos de produto elegíveis (`conditions.productType`).                                                       |\n| `startDate` / `endDate`   | `DateTimeFilterByRangeInput`      | Filtra por intervalo de datas de início/fim de vigência (`conditions.startDate`/`endDate`). Aceita `eq`, `gt`, `gte`, `lt`, `lte`. |\n| `createdAt` / `updatedAt` | `DateTimeFilterByRangeInput`      | Filtra por intervalo de datas de criação/atualização do cupom.                                                                     |\n\n### Retorno\n\n`DiscountCodeConnection`:\n\n| Propriedade      | Tipo                 | Descrição                                                                             |\n| ---------------- | -------------------- | ------------------------------------------------------------------------------------- |\n| `nodes`          | `[Discount]`         | Lista direta de cupons, sem o envelope de paginação. Mesmos campos de `discountCode`. |\n| `edges`          | `[DiscountCodeEdge]` | Cada item envolvido em um `cursor`, para uso em paginação.                            |\n| `edges[].cursor` | `String!`            | Cursor do item, use em `after`/`before` na próxima chamada.                           |\n| `edges[].node`   | `Discount`           | O cupom. Mesmos campos de `discountCode`.                                             |\n| `pageInfo`       | `PageInfo!`          | Informações de paginação (se há próxima/página anterior).                             |\n| `totalCount`     | `Int!`               | Total de cupons que casam com os filtros, independente da página atual.               |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Esta operação só retorna cupons por código (`discountMethod: CODE`).** A API de parceiros força esse filtro do seu lado — não há um argumento `discountMethod` para pedir outros métodos (ex.: descontos automáticos de loja).\n- **Cupons removidos (soft-delete) e descontos automáticos de loja nunca aparecem nesta lista**, independentemente dos filtros usados.\n- **`sortBy: amountOfRedemptions` ordena por um valor que não é exposto no retorno.** Você pode ordenar por quantidade de resgates, mas essa contagem não aparece em nenhum campo de `Discount` — para exibi-la ao usuário, mantenha sua própria contagem ou trate a ordenação como um recurso de exibição sem valor numérico associado."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"d9ff7138-2c5e-5cbe-a763-2de09c625b1e"}],"id":"4948d5ec-ae8a-4342-9254-e8d6353522ad","_postman_id":"4948d5ec-ae8a-4342-9254-e8d6353522ad","description":""},{"name":"Mutation","item":[{"name":"[Mutation] createDiscountCode","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns createDiscountCode data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createDiscountCode\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"2c993532-8f0a-55a3-a360-08c6ec89458a","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateDiscountCode($input: CreateDiscountCodeInput!) {\n  createDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"creatediscountcode\">createDiscountCode</h2>\n<p><strong>Propósito:</strong> Cria um novo cupom de desconto para a sua loja.\n<strong>Quando usar:</strong> Sempre que quiser lançar um novo cupom promocional. <strong>Não é idempotente</strong>: cada chamada bem-sucedida cria um cupom novo. A única proteção contra duplicidade é a regra de negócio sobre <code>code</code> (ver Notas) — não há deduplicação por <code>clientMutationId</code> nem por qualquer outro campo.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O cupom é criado na sua loja autenticada — não há argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: CreateDiscountCodeInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Ecoado de volta na resposta, para você correlacionar chamadas.</td>\n</tr>\n<tr>\n<td><code>input.discountCode</code></td>\n<td><code>DiscountCodeInputCreate</code></td>\n<td>Sim, na prática</td>\n<td>—</td>\n<td>Dados do cupom. O schema marca este campo como opcional, mas omiti-lo causa um erro de requisição — sempre envie.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.code</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O código que o comprador vai digitar. Espaços nas pontas são removidos automaticamente antes de salvar.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.enabled</code></td>\n<td><code>Boolean!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Se o cupom já nasce habilitado para uso.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.discountMethod</code></td>\n<td><code>DiscountMethodEnum</code></td>\n<td>Sim, na prática</td>\n<td>—</td>\n<td>O schema marca como opcional, mas omiti-lo causa um erro de validação. Envie sempre <code>CODE</code> — é o único valor aceito neste folder.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.calculation</code></td>\n<td><code>AWSJSON</code></td>\n<td>Sim, na prática</td>\n<td>—</td>\n<td>O schema marca como opcional, mas omiti-lo causa um erro de validação. Objeto <code>{ method, ...campos }</code> — formato depende de <code>method</code>, ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.conditions</code></td>\n<td><code>DiscountConditionsInput</code></td>\n<td>Não</td>\n<td>Ver Notas</td>\n<td>Condições de aplicação — ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.description</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Descrição livre do cupom.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.label</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Rótulo descritivo, para uso interno da sua equipe.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CreateDiscountCodePayload</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O mesmo valor enviado no argumento, se enviado.</td>\n</tr>\n<tr>\n<td><code>discountCode</code></td>\n<td><code>Discount</code></td>\n<td>O cupom recém-criado. Mesmos campos retornados por <code>discountCode</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DUPLICATE_DISCOUNT_CODE_ERROR</code></td>\n<td>Já existe, na sua loja, um cupom habilitado, não removido e dentro do período de vigência com o mesmo <code>code</code> (ver Notas no folder).</td>\n<td>Use um <code>code</code> diferente, ou aguarde o cupom existente expirar/desabilite-o antes de reenviar o mesmo <code>code</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Além do código acima, campos obrigatórios ausentes ou um <code>calculation</code> com formato incompatível com o <code>method</code> informado retornam um erro de validação sem <code>extensions.code</code> estável — verifique sempre <code>message</code> nesse caso.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>discountMethod</code> e <code>calculation</code> são opcionais no schema GraphQL, mas obrigatórios na prática.</strong> Omiti-los não gera o erro de duplicidade acima, e sim uma falha de validação genérica. Sempre envie <code>discountMethod: CODE</code> e um <code>calculation</code> completo.</li>\n<li><strong>Se <code>conditions.productType</code> não for enviado, o cupom nasce com <code>NON_RECURRING</code></strong> (não com <code>ALL</code>). Se você quer que o cupom valha para todos os produtos, envie <code>conditions: { productType: ALL }</code> explicitamente.</li>\n<li><strong>A verificação de duplicidade de <code>code</code> não diferencia maiúsculas/minúsculas</strong> e ignora espaços nas pontas — <code>\"VERAO10\"</code> e <code>\" verao10 \"</code> são tratados como o mesmo código para esse fim.</li>\n<li><strong>A verificação de duplicidade só considera cupons \"ativos\" no momento da criação</strong> (habilitados, não removidos e dentro da janela <code>startDate</code>/<code>endDate</code>). Reaproveitar o <code>code</code> de um cupom já expirado, ainda não iniciado ou desabilitado é permitido.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4243671d-1c8d-4240-a0bf-bc6a7a89b0e7","name":"200 - createDiscountCode","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateDiscountCode($input: CreateDiscountCodeInput!) {\n  createDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## createDiscountCode\n\n**Propósito:** Cria um novo cupom de desconto para a sua loja.\n**Quando usar:** Sempre que quiser lançar um novo cupom promocional. **Não é idempotente**: cada chamada bem-sucedida cria um cupom novo. A única proteção contra duplicidade é a regra de negócio sobre `code` (ver Notas) — não há deduplicação por `clientMutationId` nem por qualquer outro campo.\n**Autenticação:** `x-api-key` + `Authorization`. O cupom é criado na sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateDiscountCodeInput!`.\n\n| Nome                                | Tipo                      | Obrigatório     | Default   | Descrição                                                                                                                                                                                                   |\n| ----------------------------------- | ------------------------- | --------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.clientMutationId`            | `String`                  | Não             | `null`    | Ecoado de volta na resposta, para você correlacionar chamadas.                                                                                                                                              |\n| `input.discountCode`                | `DiscountCodeInputCreate` | Sim, na prática | —         | Dados do cupom. O schema marca este campo como opcional, mas omiti-lo causa um erro de requisição — sempre envie.                                                                                           |\n| `input.discountCode.code`           | `String!`                 | Sim             | —         | O código que o comprador vai digitar. Espaços nas pontas são removidos automaticamente antes de salvar.                                                                                                     |\n| `input.discountCode.enabled`        | `Boolean!`                | Sim             | —         | Se o cupom já nasce habilitado para uso.                                                                                                                                                                    |\n| `input.discountCode.discountMethod` | `DiscountMethodEnum`      | Sim, na prática | —         | O schema marca como opcional, mas omiti-lo causa um erro de validação. Envie sempre `CODE` — é o único valor aceito neste folder.                                                                           |\n| `input.discountCode.calculation`    | `AWSJSON`                 | Sim, na prática | —         | O schema marca como opcional, mas omiti-lo causa um erro de validação. Objeto `{ method, ...campos }` — formato depende de `method`, ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n| `input.discountCode.conditions`     | `DiscountConditionsInput` | Não             | Ver Notas | Condições de aplicação — ver a seção **Tipos e enums compartilhados** na descrição deste folder.                                                                                                             |\n| `input.discountCode.description`    | `String`                  | Não             | `null`    | Descrição livre do cupom.                                                                                                                                                                                   |\n| `input.discountCode.label`          | `String`                  | Não             | `null`    | Rótulo descritivo, para uso interno da sua equipe.                                                                                                                                                          |\n\n### Retorno\n\n`CreateDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                          |\n| ------------------ | ---------- | ------------------------------------------------------------------ |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                    |\n| `discountCode`     | `Discount` | O cupom recém-criado. Mesmos campos retornados por `discountCode`. |\n\n### Erros\n\n| Código                          | Condição                                                                                                                            | O que fazer                                                                                                  |\n| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| `DUPLICATE_DISCOUNT_CODE_ERROR` | Já existe, na sua loja, um cupom habilitado, não removido e dentro do período de vigência com o mesmo `code` (ver Notas no folder). | Use um `code` diferente, ou aguarde o cupom existente expirar/desabilite-o antes de reenviar o mesmo `code`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Além do código acima, campos obrigatórios ausentes ou um `calculation` com formato incompatível com o `method` informado retornam um erro de validação sem `extensions.code` estável — verifique sempre `message` nesse caso.\n\n### Notas\n\n- **`discountMethod` e `calculation` são opcionais no schema GraphQL, mas obrigatórios na prática.** Omiti-los não gera o erro de duplicidade acima, e sim uma falha de validação genérica. Sempre envie `discountMethod: CODE` e um `calculation` completo.\n- **Se `conditions.productType` não for enviado, o cupom nasce com `NON_RECURRING`** (não com `ALL`). Se você quer que o cupom valha para todos os produtos, envie `conditions: { productType: ALL }` explicitamente.\n- **A verificação de duplicidade de `code` não diferencia maiúsculas/minúsculas** e ignora espaços nas pontas — `\"VERAO10\"` e `\" verao10 \"` são tratados como o mesmo código para esse fim.\n- **A verificação de duplicidade só considera cupons \"ativos\" no momento da criação** (habilitados, não removidos e dentro da janela `startDate`/`endDate`). Reaproveitar o `code` de um cupom já expirado, ainda não iniciado ou desabilitado é permitido."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createDiscountCode\": {\n      \"clientMutationId\": \"Example_String\",\n      \"discountCode\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    }\n  }\n}"},{"id":"92d74b08-a11e-4d0a-b1e0-3a6b93504d44","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateDiscountCode($input: CreateDiscountCodeInput!) {\n  createDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## createDiscountCode\n\n**Propósito:** Cria um novo cupom de desconto para a sua loja.\n**Quando usar:** Sempre que quiser lançar um novo cupom promocional. **Não é idempotente**: cada chamada bem-sucedida cria um cupom novo. A única proteção contra duplicidade é a regra de negócio sobre `code` (ver Notas) — não há deduplicação por `clientMutationId` nem por qualquer outro campo.\n**Autenticação:** `x-api-key` + `Authorization`. O cupom é criado na sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateDiscountCodeInput!`.\n\n| Nome                                | Tipo                      | Obrigatório     | Default   | Descrição                                                                                                                                                                                                   |\n| ----------------------------------- | ------------------------- | --------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.clientMutationId`            | `String`                  | Não             | `null`    | Ecoado de volta na resposta, para você correlacionar chamadas.                                                                                                                                              |\n| `input.discountCode`                | `DiscountCodeInputCreate` | Sim, na prática | —         | Dados do cupom. O schema marca este campo como opcional, mas omiti-lo causa um erro de requisição — sempre envie.                                                                                           |\n| `input.discountCode.code`           | `String!`                 | Sim             | —         | O código que o comprador vai digitar. Espaços nas pontas são removidos automaticamente antes de salvar.                                                                                                     |\n| `input.discountCode.enabled`        | `Boolean!`                | Sim             | —         | Se o cupom já nasce habilitado para uso.                                                                                                                                                                    |\n| `input.discountCode.discountMethod` | `DiscountMethodEnum`      | Sim, na prática | —         | O schema marca como opcional, mas omiti-lo causa um erro de validação. Envie sempre `CODE` — é o único valor aceito neste folder.                                                                           |\n| `input.discountCode.calculation`    | `AWSJSON`                 | Sim, na prática | —         | O schema marca como opcional, mas omiti-lo causa um erro de validação. Objeto `{ method, ...campos }` — formato depende de `method`, ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n| `input.discountCode.conditions`     | `DiscountConditionsInput` | Não             | Ver Notas | Condições de aplicação — ver a seção **Tipos e enums compartilhados** na descrição deste folder.                                                                                                             |\n| `input.discountCode.description`    | `String`                  | Não             | `null`    | Descrição livre do cupom.                                                                                                                                                                                   |\n| `input.discountCode.label`          | `String`                  | Não             | `null`    | Rótulo descritivo, para uso interno da sua equipe.                                                                                                                                                          |\n\n### Retorno\n\n`CreateDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                          |\n| ------------------ | ---------- | ------------------------------------------------------------------ |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                    |\n| `discountCode`     | `Discount` | O cupom recém-criado. Mesmos campos retornados por `discountCode`. |\n\n### Erros\n\n| Código                          | Condição                                                                                                                            | O que fazer                                                                                                  |\n| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| `DUPLICATE_DISCOUNT_CODE_ERROR` | Já existe, na sua loja, um cupom habilitado, não removido e dentro do período de vigência com o mesmo `code` (ver Notas no folder). | Use um `code` diferente, ou aguarde o cupom existente expirar/desabilite-o antes de reenviar o mesmo `code`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Além do código acima, campos obrigatórios ausentes ou um `calculation` com formato incompatível com o `method` informado retornam um erro de validação sem `extensions.code` estável — verifique sempre `message` nesse caso.\n\n### Notas\n\n- **`discountMethod` e `calculation` são opcionais no schema GraphQL, mas obrigatórios na prática.** Omiti-los não gera o erro de duplicidade acima, e sim uma falha de validação genérica. Sempre envie `discountMethod: CODE` e um `calculation` completo.\n- **Se `conditions.productType` não for enviado, o cupom nasce com `NON_RECURRING`** (não com `ALL`). Se você quer que o cupom valha para todos os produtos, envie `conditions: { productType: ALL }` explicitamente.\n- **A verificação de duplicidade de `code` não diferencia maiúsculas/minúsculas** e ignora espaços nas pontas — `\"VERAO10\"` e `\" verao10 \"` são tratados como o mesmo código para esse fim.\n- **A verificação de duplicidade só considera cupons \"ativos\" no momento da criação** (habilitados, não removidos e dentro da janela `startDate`/`endDate`). Reaproveitar o `code` de um cupom já expirado, ainda não iniciado ou desabilitado é permitido."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"b8bf2590-2718-4574-823d-8a6f67120879","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateDiscountCode($input: CreateDiscountCodeInput!) {\n  createDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## createDiscountCode\n\n**Propósito:** Cria um novo cupom de desconto para a sua loja.\n**Quando usar:** Sempre que quiser lançar um novo cupom promocional. **Não é idempotente**: cada chamada bem-sucedida cria um cupom novo. A única proteção contra duplicidade é a regra de negócio sobre `code` (ver Notas) — não há deduplicação por `clientMutationId` nem por qualquer outro campo.\n**Autenticação:** `x-api-key` + `Authorization`. O cupom é criado na sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateDiscountCodeInput!`.\n\n| Nome                                | Tipo                      | Obrigatório     | Default   | Descrição                                                                                                                                                                                                   |\n| ----------------------------------- | ------------------------- | --------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.clientMutationId`            | `String`                  | Não             | `null`    | Ecoado de volta na resposta, para você correlacionar chamadas.                                                                                                                                              |\n| `input.discountCode`                | `DiscountCodeInputCreate` | Sim, na prática | —         | Dados do cupom. O schema marca este campo como opcional, mas omiti-lo causa um erro de requisição — sempre envie.                                                                                           |\n| `input.discountCode.code`           | `String!`                 | Sim             | —         | O código que o comprador vai digitar. Espaços nas pontas são removidos automaticamente antes de salvar.                                                                                                     |\n| `input.discountCode.enabled`        | `Boolean!`                | Sim             | —         | Se o cupom já nasce habilitado para uso.                                                                                                                                                                    |\n| `input.discountCode.discountMethod` | `DiscountMethodEnum`      | Sim, na prática | —         | O schema marca como opcional, mas omiti-lo causa um erro de validação. Envie sempre `CODE` — é o único valor aceito neste folder.                                                                           |\n| `input.discountCode.calculation`    | `AWSJSON`                 | Sim, na prática | —         | O schema marca como opcional, mas omiti-lo causa um erro de validação. Objeto `{ method, ...campos }` — formato depende de `method`, ver a seção **Tipos e enums compartilhados** na descrição deste folder. |\n| `input.discountCode.conditions`     | `DiscountConditionsInput` | Não             | Ver Notas | Condições de aplicação — ver a seção **Tipos e enums compartilhados** na descrição deste folder.                                                                                                             |\n| `input.discountCode.description`    | `String`                  | Não             | `null`    | Descrição livre do cupom.                                                                                                                                                                                   |\n| `input.discountCode.label`          | `String`                  | Não             | `null`    | Rótulo descritivo, para uso interno da sua equipe.                                                                                                                                                          |\n\n### Retorno\n\n`CreateDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                          |\n| ------------------ | ---------- | ------------------------------------------------------------------ |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                    |\n| `discountCode`     | `Discount` | O cupom recém-criado. Mesmos campos retornados por `discountCode`. |\n\n### Erros\n\n| Código                          | Condição                                                                                                                            | O que fazer                                                                                                  |\n| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| `DUPLICATE_DISCOUNT_CODE_ERROR` | Já existe, na sua loja, um cupom habilitado, não removido e dentro do período de vigência com o mesmo `code` (ver Notas no folder). | Use um `code` diferente, ou aguarde o cupom existente expirar/desabilite-o antes de reenviar o mesmo `code`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Além do código acima, campos obrigatórios ausentes ou um `calculation` com formato incompatível com o `method` informado retornam um erro de validação sem `extensions.code` estável — verifique sempre `message` nesse caso.\n\n### Notas\n\n- **`discountMethod` e `calculation` são opcionais no schema GraphQL, mas obrigatórios na prática.** Omiti-los não gera o erro de duplicidade acima, e sim uma falha de validação genérica. Sempre envie `discountMethod: CODE` e um `calculation` completo.\n- **Se `conditions.productType` não for enviado, o cupom nasce com `NON_RECURRING`** (não com `ALL`). Se você quer que o cupom valha para todos os produtos, envie `conditions: { productType: ALL }` explicitamente.\n- **A verificação de duplicidade de `code` não diferencia maiúsculas/minúsculas** e ignora espaços nas pontas — `\"VERAO10\"` e `\" verao10 \"` são tratados como o mesmo código para esse fim.\n- **A verificação de duplicidade só considera cupons \"ativos\" no momento da criação** (habilitados, não removidos e dentro da janela `startDate`/`endDate`). Reaproveitar o `code` de um cupom já expirado, ainda não iniciado ou desabilitado é permitido."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"2c993532-8f0a-55a3-a360-08c6ec89458a"},{"name":"[Mutation] updateDiscountCode","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns updateDiscountCode data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"updateDiscountCode\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"3cd759ae-74d0-5af7-81f5-42dd37d882bd","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateDiscountCode($input: UpdateDiscountCodeInput!) {\n  updateDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    },\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"updatediscountcode\">updateDiscountCode</h2>\n<p><strong>Propósito:</strong> Atualiza um cupom de desconto existente na sua loja.\n<strong>Quando usar:</strong> Para alterar dados de um cupom já criado (habilitar/desabilitar, mudar condições, trocar a forma de cálculo, etc.), sem recriá-lo. <strong>É seguro reenviar a mesma chamada</strong> (os mesmos campos, com os mesmos valores, produzem o mesmo resultado) — mas veja em Notas o comportamento quando o <code>discountCodeId</code> não é encontrado.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A atualização é restrita a cupons da sua loja autenticada — não há argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpdateDiscountCodeInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Ecoado de volta na resposta, para você correlacionar chamadas.</td>\n</tr>\n<tr>\n<td><code>input.discountCodeId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do cupom a atualizar.</td>\n</tr>\n<tr>\n<td><code>input.discountCode</code></td>\n<td><code>DiscountCodeInputUpdate</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Campos a alterar. Só os campos enviados são modificados — ver Notas sobre merge.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.code</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Novo código do cupom.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.enabled</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Habilita/desabilita o cupom.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.discountMethod</code></td>\n<td><code>DiscountMethodEnum</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Não há motivo prático para alterar — este folder só trabalha com <code>CODE</code>.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.calculation</code></td>\n<td><code>AWSJSON</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Novo objeto de cálculo. Pode inclusive trocar o <code>method</code> por completo, desde que o objeto enviado corresponda ao formato exigido pelo novo <code>method</code> — ver a seção <strong>Tipos e enums compartilhados</strong> na descrição deste folder. Atenção: na atualização, <code>DISCOUNT</code>/<code>SALE</code> exigem valores inteiros e <strong>rejeitam</strong> decimais (diferente da criação, que trunca) — ver a nota do folder.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.conditions</code></td>\n<td><code>DiscountConditionsInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Condições a alterar. Só as chaves enviadas dentro de <code>conditions</code> são modificadas — ver Notas sobre merge.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.description</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Nova descrição.</td>\n</tr>\n<tr>\n<td><code>input.discountCode.label</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Novo rótulo.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>UpdateDiscountCodePayload</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O mesmo valor enviado no argumento, se enviado.</td>\n</tr>\n<tr>\n<td><code>discountCode</code></td>\n<td><code>Discount</code></td>\n<td>O cupom após a atualização, com os mesmos campos retornados por <code>discountCode</code>. Ver Notas se <code>discountCodeId</code> não for válido.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<p>Nenhum código de erro de negócio específico conhecido para esta operação — ver Notas sobre o comportamento quando <code>discountCodeId</code> não é encontrado.</p>\n<blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Um <code>calculation</code> com formato incompatível com o <code>method</code> informado retorna um erro de validação sem <code>extensions.code</code> estável — verifique sempre <code>message</code> nesse caso.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Merge parcial, não substituição.</strong> Só os campos enviados em <code>discountCode</code> são alterados; qualquer campo omitido mantém o valor atual. O mesmo vale dentro de <code>conditions</code>: enviar <code>conditions: { max: 100 }</code> altera só <code>max</code>, preservando <code>accountLimit</code>, <code>startDate</code>, etc. já configurados. Para limpar um campo opcional (ex.: <code>description</code>, <code>label</code> ou uma chave de <code>conditions</code>), envie-o explicitamente como <code>null</code>.</li>\n<li><strong>Sem erro dedicado de \"não encontrado\".</strong> Se <code>discountCodeId</code> não existir, pertencer a outra loja, já estiver removido (soft-delete) ou não for um cupom por código, a mutation <strong>não lança um erro específico</strong> — a atualização simplesmente não é aplicada. Sempre confira os campos em <code>discountCode</code> na resposta para confirmar que a alteração desejada realmente foi aplicada (por exemplo, comparando <code>enabled</code> ou os valores de <code>conditions</code> com o que você enviou).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b2044c4f-dda3-41ef-a2e6-b992b840fb07","name":"200 - updateDiscountCode","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateDiscountCode($input: UpdateDiscountCodeInput!) {\n  updateDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    },\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## updateDiscountCode\n\n**Propósito:** Atualiza um cupom de desconto existente na sua loja.\n**Quando usar:** Para alterar dados de um cupom já criado (habilitar/desabilitar, mudar condições, trocar a forma de cálculo, etc.), sem recriá-lo. **É seguro reenviar a mesma chamada** (os mesmos campos, com os mesmos valores, produzem o mesmo resultado) — mas veja em Notas o comportamento quando o `discountCodeId` não é encontrado.\n**Autenticação:** `x-api-key` + `Authorization`. A atualização é restrita a cupons da sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateDiscountCodeInput!`.\n\n| Nome                                | Tipo                      | Obrigatório | Default | Descrição                                                                                                                                                                                                                                                                                                                                                                         |\n| ----------------------------------- | ------------------------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.clientMutationId`            | `String`                  | Não         | `null`  | Ecoado de volta na resposta, para você correlacionar chamadas.                                                                                                                                                                                                                                                                                                                    |\n| `input.discountCodeId`              | `ID!`                     | Sim         | —       | ID do cupom a atualizar.                                                                                                                                                                                                                                                                                                                                                          |\n| `input.discountCode`                | `DiscountCodeInputUpdate` | Não         | —       | Campos a alterar. Só os campos enviados são modificados — ver Notas sobre merge.                                                                                                                                                                                                                                                                                                  |\n| `input.discountCode.code`           | `String`                  | Não         | —       | Novo código do cupom.                                                                                                                                                                                                                                                                                                                                                             |\n| `input.discountCode.enabled`        | `Boolean`                 | Não         | —       | Habilita/desabilita o cupom.                                                                                                                                                                                                                                                                                                                                                      |\n| `input.discountCode.discountMethod` | `DiscountMethodEnum`      | Não         | —       | Não há motivo prático para alterar — este folder só trabalha com `CODE`.                                                                                                                                                                                                                                                                                                           |\n| `input.discountCode.calculation`    | `AWSJSON`                 | Não         | —       | Novo objeto de cálculo. Pode inclusive trocar o `method` por completo, desde que o objeto enviado corresponda ao formato exigido pelo novo `method` — ver a seção **Tipos e enums compartilhados** na descrição deste folder. Atenção: na atualização, `DISCOUNT`/`SALE` exigem valores inteiros e **rejeitam** decimais (diferente da criação, que trunca) — ver a nota do folder. |\n| `input.discountCode.conditions`     | `DiscountConditionsInput` | Não         | —       | Condições a alterar. Só as chaves enviadas dentro de `conditions` são modificadas — ver Notas sobre merge.                                                                                                                                                                                                                                                                        |\n| `input.discountCode.description`    | `String`                  | Não         | —       | Nova descrição.                                                                                                                                                                                                                                                                                                                                                                   |\n| `input.discountCode.label`          | `String`                  | Não         | —       | Novo rótulo.                                                                                                                                                                                                                                                                                                                                                                      |\n\n### Retorno\n\n`UpdateDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                                                                                     |\n| ------------------ | ---------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                                                                               |\n| `discountCode`     | `Discount` | O cupom após a atualização, com os mesmos campos retornados por `discountCode`. Ver Notas se `discountCodeId` não for válido. |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação — ver Notas sobre o comportamento quando `discountCodeId` não é encontrado.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Um `calculation` com formato incompatível com o `method` informado retorna um erro de validação sem `extensions.code` estável — verifique sempre `message` nesse caso.\n\n### Notas\n\n- **Merge parcial, não substituição.** Só os campos enviados em `discountCode` são alterados; qualquer campo omitido mantém o valor atual. O mesmo vale dentro de `conditions`: enviar `conditions: { max: 100 }` altera só `max`, preservando `accountLimit`, `startDate`, etc. já configurados. Para limpar um campo opcional (ex.: `description`, `label` ou uma chave de `conditions`), envie-o explicitamente como `null`.\n- **Sem erro dedicado de \"não encontrado\".** Se `discountCodeId` não existir, pertencer a outra loja, já estiver removido (soft-delete) ou não for um cupom por código, a mutation **não lança um erro específico** — a atualização simplesmente não é aplicada. Sempre confira os campos em `discountCode` na resposta para confirmar que a alteração desejada realmente foi aplicada (por exemplo, comparando `enabled` ou os valores de `conditions` com o que você enviou)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"updateDiscountCode\": {\n      \"clientMutationId\": \"Example_String\",\n      \"discountCode\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    }\n  }\n}"},{"id":"e31113b3-41f7-4ff9-a30b-e88b7a9960ea","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateDiscountCode($input: UpdateDiscountCodeInput!) {\n  updateDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    },\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## updateDiscountCode\n\n**Propósito:** Atualiza um cupom de desconto existente na sua loja.\n**Quando usar:** Para alterar dados de um cupom já criado (habilitar/desabilitar, mudar condições, trocar a forma de cálculo, etc.), sem recriá-lo. **É seguro reenviar a mesma chamada** (os mesmos campos, com os mesmos valores, produzem o mesmo resultado) — mas veja em Notas o comportamento quando o `discountCodeId` não é encontrado.\n**Autenticação:** `x-api-key` + `Authorization`. A atualização é restrita a cupons da sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateDiscountCodeInput!`.\n\n| Nome                                | Tipo                      | Obrigatório | Default | Descrição                                                                                                                                                                                                                                                                                                                                                                         |\n| ----------------------------------- | ------------------------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.clientMutationId`            | `String`                  | Não         | `null`  | Ecoado de volta na resposta, para você correlacionar chamadas.                                                                                                                                                                                                                                                                                                                    |\n| `input.discountCodeId`              | `ID!`                     | Sim         | —       | ID do cupom a atualizar.                                                                                                                                                                                                                                                                                                                                                          |\n| `input.discountCode`                | `DiscountCodeInputUpdate` | Não         | —       | Campos a alterar. Só os campos enviados são modificados — ver Notas sobre merge.                                                                                                                                                                                                                                                                                                  |\n| `input.discountCode.code`           | `String`                  | Não         | —       | Novo código do cupom.                                                                                                                                                                                                                                                                                                                                                             |\n| `input.discountCode.enabled`        | `Boolean`                 | Não         | —       | Habilita/desabilita o cupom.                                                                                                                                                                                                                                                                                                                                                      |\n| `input.discountCode.discountMethod` | `DiscountMethodEnum`      | Não         | —       | Não há motivo prático para alterar — este folder só trabalha com `CODE`.                                                                                                                                                                                                                                                                                                           |\n| `input.discountCode.calculation`    | `AWSJSON`                 | Não         | —       | Novo objeto de cálculo. Pode inclusive trocar o `method` por completo, desde que o objeto enviado corresponda ao formato exigido pelo novo `method` — ver a seção **Tipos e enums compartilhados** na descrição deste folder. Atenção: na atualização, `DISCOUNT`/`SALE` exigem valores inteiros e **rejeitam** decimais (diferente da criação, que trunca) — ver a nota do folder. |\n| `input.discountCode.conditions`     | `DiscountConditionsInput` | Não         | —       | Condições a alterar. Só as chaves enviadas dentro de `conditions` são modificadas — ver Notas sobre merge.                                                                                                                                                                                                                                                                        |\n| `input.discountCode.description`    | `String`                  | Não         | —       | Nova descrição.                                                                                                                                                                                                                                                                                                                                                                   |\n| `input.discountCode.label`          | `String`                  | Não         | —       | Novo rótulo.                                                                                                                                                                                                                                                                                                                                                                      |\n\n### Retorno\n\n`UpdateDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                                                                                     |\n| ------------------ | ---------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                                                                               |\n| `discountCode`     | `Discount` | O cupom após a atualização, com os mesmos campos retornados por `discountCode`. Ver Notas se `discountCodeId` não for válido. |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação — ver Notas sobre o comportamento quando `discountCodeId` não é encontrado.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Um `calculation` com formato incompatível com o `method` informado retorna um erro de validação sem `extensions.code` estável — verifique sempre `message` nesse caso.\n\n### Notas\n\n- **Merge parcial, não substituição.** Só os campos enviados em `discountCode` são alterados; qualquer campo omitido mantém o valor atual. O mesmo vale dentro de `conditions`: enviar `conditions: { max: 100 }` altera só `max`, preservando `accountLimit`, `startDate`, etc. já configurados. Para limpar um campo opcional (ex.: `description`, `label` ou uma chave de `conditions`), envie-o explicitamente como `null`.\n- **Sem erro dedicado de \"não encontrado\".** Se `discountCodeId` não existir, pertencer a outra loja, já estiver removido (soft-delete) ou não for um cupom por código, a mutation **não lança um erro específico** — a atualização simplesmente não é aplicada. Sempre confira os campos em `discountCode` na resposta para confirmar que a alteração desejada realmente foi aplicada (por exemplo, comparando `enabled` ou os valores de `conditions` com o que você enviou)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"baf7264b-eb4c-4e61-ac4e-a1fbde798003","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UpdateDiscountCode($input: UpdateDiscountCodeInput!) {\n  updateDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCode\": {\n      \"calculation\": {},\n      \"code\": \"Example_String\",\n      \"conditions\": {\n        \"accountLimit\": 10,\n        \"recurrenceCycleLimit\": 10,\n        \"endDate\": \"2025-01-15T10:00:00Z\",\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"startDate\": \"2025-01-15T10:00:00Z\",\n        \"redemptionLimit\": 10,\n        \"productType\": \"ALL\",\n        \"tags\": [\n          \"Example_String\"\n        ],\n        \"audience\": [\n          \"Example_String\"\n        ],\n        \"permissions\": [\n          \"Example_String\"\n        ],\n        \"products\": [\n          \"Example_String\"\n        ]\n      },\n      \"description\": \"Example_String\",\n      \"discountMethod\": \"CODE\",\n      \"label\": \"Example_String\",\n      \"enabled\": true\n    },\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## updateDiscountCode\n\n**Propósito:** Atualiza um cupom de desconto existente na sua loja.\n**Quando usar:** Para alterar dados de um cupom já criado (habilitar/desabilitar, mudar condições, trocar a forma de cálculo, etc.), sem recriá-lo. **É seguro reenviar a mesma chamada** (os mesmos campos, com os mesmos valores, produzem o mesmo resultado) — mas veja em Notas o comportamento quando o `discountCodeId` não é encontrado.\n**Autenticação:** `x-api-key` + `Authorization`. A atualização é restrita a cupons da sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateDiscountCodeInput!`.\n\n| Nome                                | Tipo                      | Obrigatório | Default | Descrição                                                                                                                                                                                                                                                                                                                                                                         |\n| ----------------------------------- | ------------------------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.clientMutationId`            | `String`                  | Não         | `null`  | Ecoado de volta na resposta, para você correlacionar chamadas.                                                                                                                                                                                                                                                                                                                    |\n| `input.discountCodeId`              | `ID!`                     | Sim         | —       | ID do cupom a atualizar.                                                                                                                                                                                                                                                                                                                                                          |\n| `input.discountCode`                | `DiscountCodeInputUpdate` | Não         | —       | Campos a alterar. Só os campos enviados são modificados — ver Notas sobre merge.                                                                                                                                                                                                                                                                                                  |\n| `input.discountCode.code`           | `String`                  | Não         | —       | Novo código do cupom.                                                                                                                                                                                                                                                                                                                                                             |\n| `input.discountCode.enabled`        | `Boolean`                 | Não         | —       | Habilita/desabilita o cupom.                                                                                                                                                                                                                                                                                                                                                      |\n| `input.discountCode.discountMethod` | `DiscountMethodEnum`      | Não         | —       | Não há motivo prático para alterar — este folder só trabalha com `CODE`.                                                                                                                                                                                                                                                                                                           |\n| `input.discountCode.calculation`    | `AWSJSON`                 | Não         | —       | Novo objeto de cálculo. Pode inclusive trocar o `method` por completo, desde que o objeto enviado corresponda ao formato exigido pelo novo `method` — ver a seção **Tipos e enums compartilhados** na descrição deste folder. Atenção: na atualização, `DISCOUNT`/`SALE` exigem valores inteiros e **rejeitam** decimais (diferente da criação, que trunca) — ver a nota do folder. |\n| `input.discountCode.conditions`     | `DiscountConditionsInput` | Não         | —       | Condições a alterar. Só as chaves enviadas dentro de `conditions` são modificadas — ver Notas sobre merge.                                                                                                                                                                                                                                                                        |\n| `input.discountCode.description`    | `String`                  | Não         | —       | Nova descrição.                                                                                                                                                                                                                                                                                                                                                                   |\n| `input.discountCode.label`          | `String`                  | Não         | —       | Novo rótulo.                                                                                                                                                                                                                                                                                                                                                                      |\n\n### Retorno\n\n`UpdateDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                                                                                     |\n| ------------------ | ---------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                                                                               |\n| `discountCode`     | `Discount` | O cupom após a atualização, com os mesmos campos retornados por `discountCode`. Ver Notas se `discountCodeId` não for válido. |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação — ver Notas sobre o comportamento quando `discountCodeId` não é encontrado.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Um `calculation` com formato incompatível com o `method` informado retorna um erro de validação sem `extensions.code` estável — verifique sempre `message` nesse caso.\n\n### Notas\n\n- **Merge parcial, não substituição.** Só os campos enviados em `discountCode` são alterados; qualquer campo omitido mantém o valor atual. O mesmo vale dentro de `conditions`: enviar `conditions: { max: 100 }` altera só `max`, preservando `accountLimit`, `startDate`, etc. já configurados. Para limpar um campo opcional (ex.: `description`, `label` ou uma chave de `conditions`), envie-o explicitamente como `null`.\n- **Sem erro dedicado de \"não encontrado\".** Se `discountCodeId` não existir, pertencer a outra loja, já estiver removido (soft-delete) ou não for um cupom por código, a mutation **não lança um erro específico** — a atualização simplesmente não é aplicada. Sempre confira os campos em `discountCode` na resposta para confirmar que a alteração desejada realmente foi aplicada (por exemplo, comparando `enabled` ou os valores de `conditions` com o que você enviou)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"3cd759ae-74d0-5af7-81f5-42dd37d882bd"},{"name":"[Mutation] deleteDiscountCode","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns deleteDiscountCode data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"deleteDiscountCode\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"5f781ef7-738d-50b7-b2ed-2c000f1f2812","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation DeleteDiscountCode($input: DeleteDiscountCodeInput!) {\n  deleteDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"deletediscountcode\">deleteDiscountCode</h2>\n<p><strong>Propósito:</strong> Remove um cupom de desconto da sua loja.\n<strong>Quando usar:</strong> Para desativar definitivamente um cupom que não deve mais existir (diferente de apenas desabilitá-lo via <code>updateDiscountCode</code> com <code>enabled: false</code>, que mantém o cupom visível e reativável). <strong>É uma remoção lógica (soft-delete)</strong> — o registro não é apagado, apenas marcado como removido. A operação é <strong>idempotente na prática</strong>: chamá-la novamente sobre um cupom já removido (ou um <code>discountCodeId</code> inválido) não lança erro, apenas retorna <code>discountCode: null</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A remoção é restrita a cupons da sua loja autenticada — não há argumento de loja.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: DeleteDiscountCodeInput!</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Ecoado de volta na resposta, para você correlacionar chamadas.</td>\n</tr>\n<tr>\n<td><code>input.discountCodeId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do cupom a remover.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>DeleteDiscountCodePayload</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O mesmo valor enviado no argumento, se enviado.</td>\n</tr>\n<tr>\n<td><code>discountCode</code></td>\n<td><code>Discount</code></td>\n<td>O cupom <strong>como estava imediatamente antes da remoção</strong> (ver Notas). <code>null</code> se <code>discountCodeId</code> não existir, já estiver removido, pertencer a outra loja, ou não for um cupom por código.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<p>Nenhum código de erro de negócio conhecido para esta operação — falhas (ID inválido, já removido, etc.) retornam <code>discountCode: null</code> em vez de um erro (ver Notas).</p>\n<blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Soft-delete.</strong> O cupom não é apagado — apenas marcado como removido. A partir daí, ele deixa de aparecer em <code>discountCodes</code> e <code>discountCode</code> passa a retornar <code>DISCOUNT_CODE_NOT_FOUND_ERROR</code> para o mesmo ID.</li>\n<li><strong>O <code>discountCode</code> retornado reflete o estado anterior à remoção.</strong> Note que o campo <code>enabled</code> (e os demais campos) na resposta mostram o cupom como estava um instante antes de ser marcado como removido, não o estado \"já removido\" — não existe um campo de retorno que indique explicitamente \"isto foi removido agora\".</li>\n<li><strong>Idempotente na prática, sem erro dedicado de \"não encontrado\".</strong> Chamar esta mutation para um <code>discountCodeId</code> inexistente, de outra loja, ou já removido não lança erro — a resposta simplesmente traz <code>discountCode: null</code>. Trate <code>null</code> como \"nada foi removido nesta chamada\" (já estava removido, ou nunca existiu na sua loja), não como falha.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7c1774cd-eebf-42ce-a0ba-f7739c667234","name":"200 - deleteDiscountCode","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation DeleteDiscountCode($input: DeleteDiscountCodeInput!) {\n  deleteDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## deleteDiscountCode\n\n**Propósito:** Remove um cupom de desconto da sua loja.\n**Quando usar:** Para desativar definitivamente um cupom que não deve mais existir (diferente de apenas desabilitá-lo via `updateDiscountCode` com `enabled: false`, que mantém o cupom visível e reativável). **É uma remoção lógica (soft-delete)** — o registro não é apagado, apenas marcado como removido. A operação é **idempotente na prática**: chamá-la novamente sobre um cupom já removido (ou um `discountCodeId` inválido) não lança erro, apenas retorna `discountCode: null`.\n**Autenticação:** `x-api-key` + `Authorization`. A remoção é restrita a cupons da sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: DeleteDiscountCodeInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                      |\n| ------------------------ | -------- | ----------- | ------- | -------------------------------------------------------------- |\n| `input.clientMutationId` | `String` | Não         | `null`  | Ecoado de volta na resposta, para você correlacionar chamadas. |\n| `input.discountCodeId`   | `ID!`    | Sim         | —       | ID do cupom a remover.                                         |\n\n### Retorno\n\n`DeleteDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                                                                                                                                                |\n| ------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                                                                                                                                          |\n| `discountCode`     | `Discount` | O cupom **como estava imediatamente antes da remoção** (ver Notas). `null` se `discountCodeId` não existir, já estiver removido, pertencer a outra loja, ou não for um cupom por código. |\n\n### Erros\n\nNenhum código de erro de negócio conhecido para esta operação — falhas (ID inválido, já removido, etc.) retornam `discountCode: null` em vez de um erro (ver Notas).\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Soft-delete.** O cupom não é apagado — apenas marcado como removido. A partir daí, ele deixa de aparecer em `discountCodes` e `discountCode` passa a retornar `DISCOUNT_CODE_NOT_FOUND_ERROR` para o mesmo ID.\n- **O `discountCode` retornado reflete o estado anterior à remoção.** Note que o campo `enabled` (e os demais campos) na resposta mostram o cupom como estava um instante antes de ser marcado como removido, não o estado \"já removido\" — não existe um campo de retorno que indique explicitamente \"isto foi removido agora\".\n- **Idempotente na prática, sem erro dedicado de \"não encontrado\".** Chamar esta mutation para um `discountCodeId` inexistente, de outra loja, ou já removido não lança erro — a resposta simplesmente traz `discountCode: null`. Trate `null` como \"nada foi removido nesta chamada\" (já estava removido, ou nunca existiu na sua loja), não como falha."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"deleteDiscountCode\": {\n      \"clientMutationId\": \"Example_String\",\n      \"discountCode\": {\n        \"_id\": \"Example_ID\",\n        \"code\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"discountMethod\": \"CODE\",\n        \"label\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    }\n  }\n}"},{"id":"a41ce362-55a1-4fe8-aa2c-80f338efac8b","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation DeleteDiscountCode($input: DeleteDiscountCodeInput!) {\n  deleteDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## deleteDiscountCode\n\n**Propósito:** Remove um cupom de desconto da sua loja.\n**Quando usar:** Para desativar definitivamente um cupom que não deve mais existir (diferente de apenas desabilitá-lo via `updateDiscountCode` com `enabled: false`, que mantém o cupom visível e reativável). **É uma remoção lógica (soft-delete)** — o registro não é apagado, apenas marcado como removido. A operação é **idempotente na prática**: chamá-la novamente sobre um cupom já removido (ou um `discountCodeId` inválido) não lança erro, apenas retorna `discountCode: null`.\n**Autenticação:** `x-api-key` + `Authorization`. A remoção é restrita a cupons da sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: DeleteDiscountCodeInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                      |\n| ------------------------ | -------- | ----------- | ------- | -------------------------------------------------------------- |\n| `input.clientMutationId` | `String` | Não         | `null`  | Ecoado de volta na resposta, para você correlacionar chamadas. |\n| `input.discountCodeId`   | `ID!`    | Sim         | —       | ID do cupom a remover.                                         |\n\n### Retorno\n\n`DeleteDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                                                                                                                                                |\n| ------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                                                                                                                                          |\n| `discountCode`     | `Discount` | O cupom **como estava imediatamente antes da remoção** (ver Notas). `null` se `discountCodeId` não existir, já estiver removido, pertencer a outra loja, ou não for um cupom por código. |\n\n### Erros\n\nNenhum código de erro de negócio conhecido para esta operação — falhas (ID inválido, já removido, etc.) retornam `discountCode: null` em vez de um erro (ver Notas).\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Soft-delete.** O cupom não é apagado — apenas marcado como removido. A partir daí, ele deixa de aparecer em `discountCodes` e `discountCode` passa a retornar `DISCOUNT_CODE_NOT_FOUND_ERROR` para o mesmo ID.\n- **O `discountCode` retornado reflete o estado anterior à remoção.** Note que o campo `enabled` (e os demais campos) na resposta mostram o cupom como estava um instante antes de ser marcado como removido, não o estado \"já removido\" — não existe um campo de retorno que indique explicitamente \"isto foi removido agora\".\n- **Idempotente na prática, sem erro dedicado de \"não encontrado\".** Chamar esta mutation para um `discountCodeId` inexistente, de outra loja, ou já removido não lança erro — a resposta simplesmente traz `discountCode: null`. Trate `null` como \"nada foi removido nesta chamada\" (já estava removido, ou nunca existiu na sua loja), não como falha."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"691e054b-94a7-46de-9427-f2efff848701","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation DeleteDiscountCode($input: DeleteDiscountCodeInput!) {\n  deleteDiscountCode(input: $input) {\n    clientMutationId\n    discountCode {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      shop {\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"discountCodeId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## deleteDiscountCode\n\n**Propósito:** Remove um cupom de desconto da sua loja.\n**Quando usar:** Para desativar definitivamente um cupom que não deve mais existir (diferente de apenas desabilitá-lo via `updateDiscountCode` com `enabled: false`, que mantém o cupom visível e reativável). **É uma remoção lógica (soft-delete)** — o registro não é apagado, apenas marcado como removido. A operação é **idempotente na prática**: chamá-la novamente sobre um cupom já removido (ou um `discountCodeId` inválido) não lança erro, apenas retorna `discountCode: null`.\n**Autenticação:** `x-api-key` + `Authorization`. A remoção é restrita a cupons da sua loja autenticada — não há argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: DeleteDiscountCodeInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                      |\n| ------------------------ | -------- | ----------- | ------- | -------------------------------------------------------------- |\n| `input.clientMutationId` | `String` | Não         | `null`  | Ecoado de volta na resposta, para você correlacionar chamadas. |\n| `input.discountCodeId`   | `ID!`    | Sim         | —       | ID do cupom a remover.                                         |\n\n### Retorno\n\n`DeleteDiscountCodePayload`:\n\n| Propriedade        | Tipo       | Descrição                                                                                                                                                                                |\n| ------------------ | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `clientMutationId` | `String`   | O mesmo valor enviado no argumento, se enviado.                                                                                                                                          |\n| `discountCode`     | `Discount` | O cupom **como estava imediatamente antes da remoção** (ver Notas). `null` se `discountCodeId` não existir, já estiver removido, pertencer a outra loja, ou não for um cupom por código. |\n\n### Erros\n\nNenhum código de erro de negócio conhecido para esta operação — falhas (ID inválido, já removido, etc.) retornam `discountCode: null` em vez de um erro (ver Notas).\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Soft-delete.** O cupom não é apagado — apenas marcado como removido. A partir daí, ele deixa de aparecer em `discountCodes` e `discountCode` passa a retornar `DISCOUNT_CODE_NOT_FOUND_ERROR` para o mesmo ID.\n- **O `discountCode` retornado reflete o estado anterior à remoção.** Note que o campo `enabled` (e os demais campos) na resposta mostram o cupom como estava um instante antes de ser marcado como removido, não o estado \"já removido\" — não existe um campo de retorno que indique explicitamente \"isto foi removido agora\".\n- **Idempotente na prática, sem erro dedicado de \"não encontrado\".** Chamar esta mutation para um `discountCodeId` inexistente, de outra loja, ou já removido não lança erro — a resposta simplesmente traz `discountCode: null`. Trate `null` como \"nada foi removido nesta chamada\" (já estava removido, ou nunca existiu na sua loja), não como falha."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"5f781ef7-738d-50b7-b2ed-2c000f1f2812"}],"id":"2bac1ff8-3721-4c05-8b95-da0c833081b9","_postman_id":"2bac1ff8-3721-4c05-8b95-da0c833081b9","description":""}],"id":"b57e7408-7a8e-480e-97c0-6b7c32bb0e05","description":"<h1 id=\"cupons-de-desconto\">Cupons de Desconto</h1>\n<p>Gerencia os cupons de desconto (discount codes) da sua loja — consulta individual, listagem com filtros, criação, atualização e remoção. Cobre as operações <code>discountCode</code>, <code>discountCodes</code>, <code>createDiscountCode</code>, <code>updateDiscountCode</code> e <code>deleteDiscountCode</code>. Este folder trabalha apenas com descontos <strong>ativados por código</strong> (o comprador digita o cupom); descontos automáticos de loja (sem código) não aparecem nem podem ser gerenciados por aqui.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<h3 id=\"discountcalculationmethodenum--como-o-desconto-é-calculado\"><code>DiscountCalculationMethodEnum</code> — como o desconto é calculado</h3>\n<p><code>calculation</code> é um objeto JSON (scalar <code>AWSJSON</code>) cujo campo <code>method</code> define a forma de cálculo e <strong>quais outros campos o objeto aceita</strong>. Só os sete métodos abaixo se aplicam a cupons por código; envie exatamente os campos indicados para o <code>method</code> escolhido.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>method</code></th>\n<th>Campos de <code>calculation</code> (além de <code>method</code>)</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>DISCOUNT</code></td>\n<td><code>amountByProductType: { RECURRING, NON_RECURRING }</code> (inteiros)</td>\n<td>Desconta um <strong>percentual</strong> do carrinho, com percentuais distintos por tipo de produto.</td>\n</tr>\n<tr>\n<td><code>SALE</code></td>\n<td><code>amountByProductType: { RECURRING, NON_RECURRING }</code> (inteiros)</td>\n<td>Desconta um <strong>valor fixo por item</strong>, com valores distintos por tipo de produto.</td>\n</tr>\n<tr>\n<td><code>CREDIT_OFF_BY_PRODUCT_TYPE</code></td>\n<td><code>amountByProductType: { RECURRING, NON_RECURRING }</code> (decimais)</td>\n<td>Desconta um <strong>valor fixo do carrinho</strong> (não por item), com valores distintos por tipo.</td>\n</tr>\n<tr>\n<td><code>CREDIT_OFF_FLAT</code></td>\n<td><code>amount</code> (decimal, opcional)</td>\n<td>Desconta um <strong>valor fixo do carrinho</strong>, único, sem diferenciar tipo de produto.</td>\n</tr>\n<tr>\n<td><code>SHIPPING</code></td>\n<td><code>fulfillmentOptionNames: [String]</code></td>\n<td>Concede <strong>frete grátis</strong> para os métodos de envio cujo nome esteja na lista.</td>\n</tr>\n<tr>\n<td><code>SUBSCRIPTION</code></td>\n<td>(nenhum)</td>\n<td>Habilita planos de assinatura não padrão da Unbox.</td>\n</tr>\n<tr>\n<td><code>DOUBLE_PRODUCT_ITEMS</code></td>\n<td><code>maxUseLimitPerItem</code> (inteiro), <code>targetProducts</code></td>\n<td>Duplica um produto-alvo no carrinho; a cópia entra <strong>grátis</strong> (ver detalhes abaixo).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Os valores <code>FREE_ITEM_BY_TIER</code> e <code>DISCOUNT_BY_PAYMENT_METHOD</code> também existem no enum, mas pertencem a descontos automáticos de loja, nunca a cupons por código. Um cupom criado por <code>createDiscountCode</code> nunca terá um desses dois métodos, e filtrar <code>discountCodes</code> por eles não retorna resultados.</p>\n<p><code>amountByProductType</code> sempre usa as chaves <code>RECURRING</code>/<code>NON_RECURRING</code> de <code>DiscountProductTypeEnum</code> (o valor <code>ALL</code> não se aplica a um cálculo diferenciado por tipo).</p>\n<p><strong>Valores inteiros vs. decimais.</strong> Para <code>DISCOUNT</code> e <code>SALE</code>, os valores de <code>amountByProductType</code> devem ser <strong>inteiros</strong>: na criação (<code>createDiscountCode</code>), valores com casas decimais são <strong>truncados</strong> silenciosamente; na atualização (<code>updateDiscountCode</code>), valores não inteiros são <strong>rejeitados</strong> com erro de validação. Para <code>CREDIT_OFF_BY_PRODUCT_TYPE</code> e <code>CREDIT_OFF_FLAT</code>, decimais são aceitos e arredondados para 3 casas <strong>na criação</strong> (a atualização não reprocessa o valor).</p>\n<p><strong><code>DOUBLE_PRODUCT_ITEMS</code>.</strong> A cópia adicionada ao carrinho entra <strong>grátis</strong> — o preço cheio do item duplicado é descontado, e não há campo para configurar um desconto parcial. Campos:</p>\n<ul>\n<li><code>maxUseLimitPerItem</code> (inteiro): quantas cópias com desconto podem ser adicionadas; <code>0</code> significa sem limite.</li>\n<li><code>targetProducts: { includeAllProducts: Boolean, productsAllowList: [{ productId, productErpCode }] }</code>: quais produtos ativam o desconto. <code>productId</code> e <code>productErpCode</code> são strings opcionais — informe um dos dois por produto-alvo. Use <code>includeAllProducts: true</code> para mirar todo o catálogo (nesse caso <code>productsAllowList</code> é dispensável).</li>\n</ul>\n<p>Embora a validação de escrita não exija <code>maxUseLimitPerItem</code> nem <code>targetProducts</code>, <code>maxUseLimitPerItem</code> é um campo <strong>não nulo na leitura</strong>; sempre informe-o ao criar para evitar respostas inconsistentes em consultas posteriores.</p>\n<h4 id=\"exemplos-de-calculation-por-método\">Exemplos de <code>calculation</code> por método</h4>\n<p>Envie <code>calculation</code> como um objeto JSON conforme os exemplos abaixo (é o scalar <code>AWSJSON</code>; caso o seu cliente GraphQL exija, <code>AWSJSON</code> também pode ser transmitido como uma string JSON escapada com o mesmo conteúdo).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"method\": \"DISCOUNT\",\n  \"amountByProductType\": { \"RECURRING\": 10, \"NON_RECURRING\": 15 }\n}\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"method\": \"SALE\",\n  \"amountByProductType\": { \"RECURRING\": 500, \"NON_RECURRING\": 1000 }\n}\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"method\": \"CREDIT_OFF_BY_PRODUCT_TYPE\",\n  \"amountByProductType\": { \"RECURRING\": 5.5, \"NON_RECURRING\": 9.9 }\n}\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"method\": \"CREDIT_OFF_FLAT\", \"amount\": 25.9 }\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"method\": \"SHIPPING\", \"fulfillmentOptionNames\": [\"PAC\", \"SEDEX\"] }\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"method\": \"SUBSCRIPTION\" }\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"method\": \"DOUBLE_PRODUCT_ITEMS\",\n  \"maxUseLimitPerItem\": 1,\n  \"targetProducts\": {\n    \"includeAllProducts\": false,\n    \"productsAllowList\": [{ \"productId\": \"abc123\" }]\n  }\n}\n</code></pre>\n<h3 id=\"discountproducttypeenum--a-quais-itens-o-cupom-se-aplica\"><code>DiscountProductTypeEnum</code> — a quais itens o cupom se aplica</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ALL</code></td>\n<td>Todos os produtos do carrinho são elegíveis.</td>\n</tr>\n<tr>\n<td><code>RECURRING</code></td>\n<td>Somente produtos de assinatura/recorrentes são elegíveis.</td>\n</tr>\n<tr>\n<td><code>NON_RECURRING</code></td>\n<td>Somente produtos avulsos (não recorrentes) são elegíveis.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Usado tanto em <code>conditions.productType</code> (uma condição do cupom) quanto como chave de <code>amountByProductType</code> dentro de <code>calculation</code> (nesse caso sem o valor <code>ALL</code>, que não se aplica a um cálculo diferenciado por tipo).</p>\n<h3 id=\"conditions--condições-de-aplicação-do-cupom\"><code>conditions</code> — condições de aplicação do cupom</h3>\n<p>Campos de <code>DiscountConditionsInput</code> (entrada) e <code>DiscountConditions</code> (retorno) — mesma estrutura nos dois sentidos:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>accountLimit</code></td>\n<td><code>Int</code></td>\n<td>Quantas vezes uma mesma conta de comprador pode usar este cupom.</td>\n</tr>\n<tr>\n<td><code>redemptionLimit</code></td>\n<td><code>Int</code></td>\n<td>Quantas vezes o cupom pode ser resgatado no total. <code>0</code> significa <strong>sem limite</strong> (uso ilimitado); um valor como <code>100</code> permite os 100 primeiros usos.</td>\n</tr>\n<tr>\n<td><code>recurrenceCycleLimit</code></td>\n<td><code>Int</code></td>\n<td>Quantos ciclos de um pedido recorrente podem usar este cupom.</td>\n</tr>\n<tr>\n<td><code>startDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data/hora a partir da qual o cupom passa a valer.</td>\n</tr>\n<tr>\n<td><code>endDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data/hora a partir da qual o cupom deixa de valer.</td>\n</tr>\n<tr>\n<td><code>max</code></td>\n<td><code>Float</code></td>\n<td>Valor máximo do pedido para o cupom poder ser aplicado.</td>\n</tr>\n<tr>\n<td><code>min</code></td>\n<td><code>Float</code></td>\n<td>Valor mínimo do pedido para o cupom poder ser aplicado.</td>\n</tr>\n<tr>\n<td><code>productType</code></td>\n<td><code>DiscountProductTypeEnum</code></td>\n<td>Tipo de produto elegível (ver enum acima).</td>\n</tr>\n<tr>\n<td><code>tags</code>, <code>audience</code>, <code>permissions</code>, <code>products</code></td>\n<td><code>[String]</code></td>\n<td>Condições legadas, mantidas por compatibilidade. Evite usar em cupons novos — não há garantia de suporte continuado.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"discountcodessortbyfield--ordenação-de-discountcodes\"><code>DiscountCodesSortByField</code> — ordenação de <code>discountCodes</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Ordena por</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>createdAt</code> (default)</td>\n<td>Data de criação do cupom.</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>Data da última atualização.</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td>O código do cupom, alfabeticamente.</td>\n</tr>\n<tr>\n<td><code>calculationMethod</code></td>\n<td>O <code>method</code> de <code>calculation</code>.</td>\n</tr>\n<tr>\n<td><code>startDate</code> / <code>endDate</code></td>\n<td>As datas de início/fim de vigência (<code>conditions.startDate</code>/<code>endDate</code>).</td>\n</tr>\n<tr>\n<td><code>amountOfRedemptions</code></td>\n<td>Quantas vezes o cupom já foi resgatado — este valor não é exposto em nenhum campo do retorno, mas pode ser usado para ordenar.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Só cupons por código.</strong> Todas as operações deste folder ignoram descontos automáticos de loja: <code>discountCode</code> e <code>discountCodes</code> nunca retornam um desconto que não seja do tipo código, e <code>createDiscountCode</code> sempre cria um cupom por código.</li>\n<li><strong>Soft-delete.</strong> <code>deleteDiscountCode</code> não apaga o registro — ele marca o cupom como removido. A partir daí, o cupom deixa de aparecer em <code>discountCodes</code> e <code>discountCode</code> passa a se comportar como se ele não existisse (erro de não encontrado).</li>\n<li><strong>Duplicidade de <code>code</code> é verificada por vigência, não apenas por existência.</strong> Ao criar um cupom, a Unbox só bloqueia com erro de duplicidade se já existir, na sua loja, um cupom com o mesmo <code>code</code> (comparação sem diferenciar maiúsculas/minúsculas, e ignorando espaços nas pontas) que esteja <strong>habilitado, não removido e dentro do período de vigência</strong> (<code>conditions.startDate</code>/<code>endDate</code>, quando definidos). Reaproveitar o <code>code</code> de um cupom expirado, ainda não iniciado, ou desabilitado é permitido — a Unbox não impede a criação do novo cupom nesse caso, mesmo que o cupom antigo continue existindo.</li>\n<li><strong><code>updateDiscountCode</code> faz merge, não substituição.</strong> Só os campos enviados em <code>discountCode</code> são alterados; qualquer campo omitido mantém o valor atual. Isso vale inclusive para <code>conditions</code>: você pode enviar <code>conditions: { max: 100 }</code> para alterar apenas o valor máximo do pedido sem afetar <code>accountLimit</code>, <code>startDate</code>, etc. Para limpar um campo opcional (ex.: <code>description</code>, <code>label</code> ou uma chave de <code>conditions</code>), envie-o explicitamente como <code>null</code>.</li>\n<li><strong>Paginação Relay</strong> (<code>discountCodes</code>): use <code>first</code>/<code>after</code> para avançar página a página, ou <code>last</code>/<code>before</code> para voltar. <code>offset</code> pula os N primeiros resultados e é usado em conjunto com <code>first</code>. <code>nodes</code> traz a lista direta; <code>edges</code> traz cada item envolvido em um <code>cursor</code> (use quando for paginar); <code>pageInfo</code> informa se há mais páginas; <code>totalCount</code> é o total de cupons que casam com os filtros, independente da página.</li>\n</ul>\n","_postman_id":"b57e7408-7a8e-480e-97c0-6b7c32bb0e05"},{"name":"External Checkout","item":[{"name":"Mutation","item":[{"name":"[Mutation] createExternalCheckout","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns createExternalCheckout data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createExternalCheckout\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"6949a62e-8c9e-5728-9ceb-119ac9f5f90d","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateExternalCheckout($input: ExternalCheckoutInput!) {\n  createExternalCheckout(input: $input) {\n    checkoutUrl\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"description\": \"Example_String\",\n    \"externalId\": \"Example_String\",\n    \"successCallbackURL\": \"https://exemplo.com\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"orderTotal\": {\n      \"amount\": 99.99,\n      \"currencyCode\": \"BRL\"\n    },\n    \"orderSummary\": [\n      {\n        \"description\": \"Example_String\",\n        \"amount\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        }\n      }\n    ],\n    \"items\": [\n      {\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"image\": {\n          \"url\": \"https://exemplo.com\",\n          \"altText\": \"Example_String\"\n        },\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        }\n      }\n    ],\n    \"customer\": {\n      \"firstName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"lastName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address1\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address2\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"number\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"neighborhood\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"city\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"region\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"postal\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"phone\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"taxPayerId\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"email\": {\n        \"value\": 99.99,\n        \"editable\": true\n      }\n    }\n  }\n}"}},"url":"{{base_url}}","description":"<p>Creates a payment link from a 3Cliques Marketplace cart returning a checkout url</p>\n<p><strong>Type:</strong> ✏️ Mutation</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input</code></td>\n<td><code>ExternalCheckoutInput!</code></td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"returns\">Returns</h2>\n<p><code>ExternalCheckoutPayload!</code></p>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9b702b2f-3442-4a29-a4e3-084d6237b318","name":"200 - createExternalCheckout","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateExternalCheckout($input: ExternalCheckoutInput!) {\n  createExternalCheckout(input: $input) {\n    checkoutUrl\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"description\": \"Example_String\",\n    \"externalId\": \"Example_String\",\n    \"successCallbackURL\": \"https://exemplo.com\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"orderTotal\": {\n      \"amount\": 99.99,\n      \"currencyCode\": \"BRL\"\n    },\n    \"orderSummary\": [\n      {\n        \"description\": \"Example_String\",\n        \"amount\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        }\n      }\n    ],\n    \"items\": [\n      {\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"image\": {\n          \"url\": \"https://exemplo.com\",\n          \"altText\": \"Example_String\"\n        },\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        }\n      }\n    ],\n    \"customer\": {\n      \"firstName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"lastName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address1\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address2\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"number\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"neighborhood\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"city\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"region\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"postal\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"phone\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"taxPayerId\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"email\": {\n        \"value\": 99.99,\n        \"editable\": true\n      }\n    }\n  }\n}"}},"url":"{{base_url}}","description":"Creates a payment link from a 3Cliques Marketplace cart returning a checkout url\n\n**Type:** ✏️ Mutation\n\n## Parameters\n\n| Name | Type | Description |\n|------|------|-------------|\n| `input` | `ExternalCheckoutInput!` | - |\n\n## Returns\n\n`ExternalCheckoutPayload!`\n"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createExternalCheckout\": {\n      \"checkoutUrl\": \"https://exemplo.com\",\n      \"paymentLink\": {\n        \"_id\": \"Example_ID\",\n        \"referenceId\": \"Example_String\",\n        \"type\": \"Example_String\",\n        \"shopId\": \"Example_String\",\n        \"externalId\": \"Example_String\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"title\": \"Example_String\",\n        \"createdBy\": \"Example_String\",\n        \"updatedBy\": \"Example_String\",\n        \"status\": \"ACTIVE\",\n        \"isSoldOut\": true,\n        \"isExpired\": true,\n        \"description\": \"Example_String\",\n        \"ordersCount\": 10,\n        \"blockPaymentMethodChange\": true,\n        \"blockApplyDiscountCode\": true,\n        \"blockApplyShopSale\": true\n      }\n    }\n  }\n}"},{"id":"9905a08a-99ae-4b56-9cee-ba3db931f763","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateExternalCheckout($input: ExternalCheckoutInput!) {\n  createExternalCheckout(input: $input) {\n    checkoutUrl\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"description\": \"Example_String\",\n    \"externalId\": \"Example_String\",\n    \"successCallbackURL\": \"https://exemplo.com\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"orderTotal\": {\n      \"amount\": 99.99,\n      \"currencyCode\": \"BRL\"\n    },\n    \"orderSummary\": [\n      {\n        \"description\": \"Example_String\",\n        \"amount\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        }\n      }\n    ],\n    \"items\": [\n      {\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"image\": {\n          \"url\": \"https://exemplo.com\",\n          \"altText\": \"Example_String\"\n        },\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        }\n      }\n    ],\n    \"customer\": {\n      \"firstName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"lastName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address1\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address2\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"number\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"neighborhood\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"city\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"region\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"postal\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"phone\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"taxPayerId\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"email\": {\n        \"value\": 99.99,\n        \"editable\": true\n      }\n    }\n  }\n}"}},"url":"{{base_url}}","description":"Creates a payment link from a 3Cliques Marketplace cart returning a checkout url\n\n**Type:** ✏️ Mutation\n\n## Parameters\n\n| Name | Type | Description |\n|------|------|-------------|\n| `input` | `ExternalCheckoutInput!` | - |\n\n## Returns\n\n`ExternalCheckoutPayload!`\n"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"ebd649ac-3a69-4fa5-88c1-c312f9e8c08c","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreateExternalCheckout($input: ExternalCheckoutInput!) {\n  createExternalCheckout(input: $input) {\n    checkoutUrl\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"title\": \"Example_String\",\n    \"description\": \"Example_String\",\n    \"externalId\": \"Example_String\",\n    \"successCallbackURL\": \"https://exemplo.com\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\n      \"usageLimit\": 10,\n      \"expirationDate\": \"2025-01-15T10:00:00Z\"\n    },\n    \"orderTotal\": {\n      \"amount\": 99.99,\n      \"currencyCode\": \"BRL\"\n    },\n    \"orderSummary\": [\n      {\n        \"description\": \"Example_String\",\n        \"amount\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        }\n      }\n    ],\n    \"items\": [\n      {\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"image\": {\n          \"url\": \"https://exemplo.com\",\n          \"altText\": \"Example_String\"\n        },\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        }\n      }\n    ],\n    \"customer\": {\n      \"firstName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"lastName\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address1\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"address2\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"number\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"neighborhood\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"city\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"region\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"postal\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"phone\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"taxPayerId\": {\n        \"value\": 99.99,\n        \"editable\": true\n      },\n      \"email\": {\n        \"value\": 99.99,\n        \"editable\": true\n      }\n    }\n  }\n}"}},"url":"{{base_url}}","description":"Creates a payment link from a 3Cliques Marketplace cart returning a checkout url\n\n**Type:** ✏️ Mutation\n\n## Parameters\n\n| Name | Type | Description |\n|------|------|-------------|\n| `input` | `ExternalCheckoutInput!` | - |\n\n## Returns\n\n`ExternalCheckoutPayload!`\n"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"6949a62e-8c9e-5728-9ceb-119ac9f5f90d"}],"id":"6baef9ab-a9d9-4f8c-bfb5-8a62e58ea10b","_postman_id":"6baef9ab-a9d9-4f8c-bfb5-8a62e58ea10b","description":""}],"id":"0ada30da-adb1-47e1-99a9-a167416dfcb4","description":"<h1 id=\"external-checkout\">External Checkout</h1>\n<p>Fluxo para gerar um checkout hospedado pela Unbox a partir de um carrinho montado fora da plataforma (por exemplo, em um marketplace ou app do parceiro). Você envia os itens, o valor total e as regras do link; a Unbox devolve uma URL de pagamento pronta para o comprador finalizar a compra. É o ponto de entrada operacional mais comum desta API — normalmente a primeira chamada de negócio feita logo após <code>signIn</code>.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum/Tipo</th>\n<th>Valores/Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>BuyerTypesEnum</code></td>\n<td><code>COMPANY</code>, <code>NATURAL_PERSON</code></td>\n<td>Usado em <code>constraints.buyerTypes</code> para restringir quem pode concluir o checkout: apenas pessoa jurídica, apenas pessoa física, ou ambos (lista com os dois valores).</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Valores monetários (<code>MoneyInput</code>) sempre em centavos.</strong> Em toda esta operação — <code>orderTotal.amount</code>, <code>items[].price.amount</code> e <code>orderSummary[].amount.amount</code> — o campo <code>amount</code> é um inteiro em centavos (ex.: R$ 149,90 é enviado como <code>14990</code>). Não envie valores decimais.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>A loja precisa ter o canal de checkout externo habilitado.</strong> Se não estiver, a operação falha com <code>INVALID_CHECKOUT_PROVIDER_ERROR</code>. Esse é um pré-requisito de configuração da loja, não algo controlado por argumento — fale com seu contato Unbox para habilitar antes de integrar.</li>\n<li><strong>Cada chamada gera um novo link de pagamento.</strong> Não há deduplicação por <code>externalId</code>: reenviar a mesma requisição (ex.: em um retry) cria um segundo link de checkout distinto. Trate seu lado da integração como responsável por evitar reenvios indevidos.</li>\n<li><strong>Acompanhamento pós-criação é feito fora deste folder.</strong> Use <code>paymentLink</code>/<code>paymentLinks</code> para consultar o status do link retornado, e <code>orders</code>/<code>orderByReferenceId</code> para acompanhar o pedido depois que o comprador finalizar o pagamento.</li>\n</ul>\n","_postman_id":"0ada30da-adb1-47e1-99a9-a167416dfcb4"},{"name":"Inventory Simple","item":[{"name":"Query","item":[{"name":"[Query] simpleInventory","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns simpleInventory data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"simpleInventory\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"simpleInventory returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.simpleInventory;","    ","    if (data !== null) {","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.canBackorder !== undefined && data.canBackorder !== null) {","            pm.expect(typeof data.canBackorder).to.equal(\"boolean\");","        }","        if (data.inventoryInStock !== undefined && data.inventoryInStock !== null) {","            pm.expect(typeof data.inventoryInStock).to.equal(\"number\");","        }","        if (data.inventoryReserved !== undefined && data.inventoryReserved !== null) {","            pm.expect(typeof data.inventoryReserved).to.equal(\"number\");","        }","        if (data.isEnabled !== undefined && data.isEnabled !== null) {","            pm.expect(typeof data.isEnabled).to.equal(\"boolean\");","        }","        if (data.lowInventoryWarningThreshold !== undefined && data.lowInventoryWarningThreshold !== null) {","            pm.expect(typeof data.lowInventoryWarningThreshold).to.equal(\"number\");","        }","        pm.expect(data).to.have.property(\"productConfiguration\");","        if (data.productConfiguration !== undefined && data.productConfiguration !== null) {","            pm.expect(data.productConfiguration).to.be.an(\"object\");","        }","    }","});"]}}],"id":"be44f726-6c83-55f4-b62c-b525234a85e2","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query SimpleInventory($productConfiguration: ProductConfigurationInput!) {\n  simpleInventory(productConfiguration: $productConfiguration) {\n    _id\n    canBackorder\n    inventoryInStock\n    inventoryReserved\n    isEnabled\n    lowInventoryWarningThreshold\n    productConfiguration {\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n  }\n}","variables":"{\n  \"productConfiguration\": {\n    \"productId\": \"{{productId}}\",\n    \"productVariantId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"simpleinventory\">simpleInventory</h2>\n<p><strong>Propósito:</strong> Consulta o saldo de estoque de uma configuração de produto (produto + variante) na sua loja.\n<strong>Quando usar:</strong> Antes de exibir disponibilidade ou permitir a venda de um item, para saber a quantidade disponível e se o produto aceita venda além do estoque (backorder).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O <code>shopId</code> é injetado a partir do seu token — não envie esse argumento.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productConfiguration</code></td>\n<td><code>ProductConfigurationInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Identifica o produto e a variante consultados.</td>\n</tr>\n<tr>\n<td><code>productConfiguration.productId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do produto.</td>\n</tr>\n<tr>\n<td><code>productConfiguration.productVariantId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID da variante do produto.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>Retorna <code>null</code> se o controle de estoque nunca foi inicializado para essa configuração de produto (ver Notas). Quando existe, <code>SimpleInventoryInfo</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID</code></td>\n<td>Identificador do registro de estoque.</td>\n</tr>\n<tr>\n<td><code>inventoryInStock</code></td>\n<td><code>Int</code></td>\n<td>Quantidade em estoque.</td>\n</tr>\n<tr>\n<td><code>inventoryReserved</code></td>\n<td><code>Int</code></td>\n<td>Quantidade reservada por pedidos em andamento. Calculada automaticamente pela Unbox conforme pedidos são criados/confirmados/cancelados — não é um valor que você define.</td>\n</tr>\n<tr>\n<td><code>canBackorder</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>true</code>, a venda é permitida mesmo quando a quantidade disponível (<code>inventoryInStock - inventoryReserved</code>) chega a zero ou fica negativa.</td>\n</tr>\n<tr>\n<td><code>isEnabled</code></td>\n<td><code>Boolean</code></td>\n<td>Se <code>false</code>, o controle de estoque está desativado para esta configuração de produto — a Unbox não usa estes valores para bloquear vendas (os números continuam sendo atualizados, mas não são aplicados como limite).</td>\n</tr>\n<tr>\n<td><code>lowInventoryWarningThreshold</code></td>\n<td><code>Int</code></td>\n<td>Limiar de \"estoque baixo\": o produto é considerado com estoque baixo quando a quantidade disponível fica igual ou menor que este valor.</td>\n</tr>\n<tr>\n<td><code>productConfiguration.productId</code></td>\n<td><code>ID</code></td>\n<td>Produto retornado.</td>\n</tr>\n<tr>\n<td><code>productConfiguration.productVariantId</code></td>\n<td><code>ID</code></td>\n<td>Variante retornada.</td>\n</tr>\n<tr>\n<td><code>productConfiguration.productErpCode</code></td>\n<td><code>String</code></td>\n<td>Código do produto no seu ERP, se cadastrado.</td>\n</tr>\n<tr>\n<td><code>productConfiguration.variantErpCode</code></td>\n<td><code>String</code></td>\n<td>Código da variante no seu ERP, se cadastrado.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<p>Nenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (<code>access_token</code> ausente ou expirado) seguem o padrão geral descrito na Overview.</p>\n<blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>null</code> não é erro.</strong> Se o estoque nunca foi configurado para aquela combinação de produto e variante, a consulta retorna <code>null</code> em vez de um objeto com valores zerados. Trate isso como \"sem dado configurado\", não como estoque zero.</li>\n<li><strong><code>inventoryReserved</code> é somente leitura nesta operação.</strong> O valor reflete pedidos em andamento e é recalculado automaticamente pela Unbox — não há argumento nesta query para alterá-lo.</li>\n<li><strong>Disponibilidade real = <code>inventoryInStock - inventoryReserved</code>.</strong> Combine com <code>canBackorder</code> na sua lógica de exibição: mesmo com disponibilidade zero ou negativa, a venda pode ainda ser permitida se <code>canBackorder</code> for <code>true</code>. Use <code>lowInventoryWarningThreshold</code> para sinalizar \"estoque baixo\" ao comprador antes de chegar a zero.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6ebf560d-7bad-4e42-bf80-6f5a6d1868b3","name":"200 - simpleInventory","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query SimpleInventory($productConfiguration: ProductConfigurationInput!) {\n  simpleInventory(productConfiguration: $productConfiguration) {\n    _id\n    canBackorder\n    inventoryInStock\n    inventoryReserved\n    isEnabled\n    lowInventoryWarningThreshold\n    productConfiguration {\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n  }\n}","variables":"{\n  \"productConfiguration\": {\n    \"productId\": \"{{productId}}\",\n    \"productVariantId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## simpleInventory\n\n**Propósito:** Consulta o saldo de estoque de uma configuração de produto (produto + variante) na sua loja.\n**Quando usar:** Antes de exibir disponibilidade ou permitir a venda de um item, para saber a quantidade disponível e se o produto aceita venda além do estoque (backorder).\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\n| Nome                                    | Tipo                         | Obrigatório | Default | Descrição                                      |\n| --------------------------------------- | ---------------------------- | ----------- | ------- | ---------------------------------------------- |\n| `productConfiguration`                  | `ProductConfigurationInput!` | Sim         | —       | Identifica o produto e a variante consultados. |\n| `productConfiguration.productId`        | `ID!`                        | Sim         | —       | ID do produto.                                 |\n| `productConfiguration.productVariantId` | `ID!`                        | Sim         | —       | ID da variante do produto.                     |\n\n### Retorno\n\nRetorna `null` se o controle de estoque nunca foi inicializado para essa configuração de produto (ver Notas). Quando existe, `SimpleInventoryInfo`:\n\n| Propriedade                             | Tipo      | Descrição                                                                                                                                                                                                             |\n| --------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                   | `ID`      | Identificador do registro de estoque.                                                                                                                                                                                 |\n| `inventoryInStock`                      | `Int`     | Quantidade em estoque.                                                                                                                                                                                                |\n| `inventoryReserved`                     | `Int`     | Quantidade reservada por pedidos em andamento. Calculada automaticamente pela Unbox conforme pedidos são criados/confirmados/cancelados — não é um valor que você define.                                             |\n| `canBackorder`                          | `Boolean` | Se `true`, a venda é permitida mesmo quando a quantidade disponível (`inventoryInStock - inventoryReserved`) chega a zero ou fica negativa.                                                                           |\n| `isEnabled`                             | `Boolean` | Se `false`, o controle de estoque está desativado para esta configuração de produto — a Unbox não usa estes valores para bloquear vendas (os números continuam sendo atualizados, mas não são aplicados como limite). |\n| `lowInventoryWarningThreshold`          | `Int`     | Limiar de \"estoque baixo\": o produto é considerado com estoque baixo quando a quantidade disponível fica igual ou menor que este valor.                                                                               |\n| `productConfiguration.productId`        | `ID`      | Produto retornado.                                                                                                                                                                                                    |\n| `productConfiguration.productVariantId` | `ID`      | Variante retornada.                                                                                                                                                                                                   |\n| `productConfiguration.productErpCode`   | `String`  | Código do produto no seu ERP, se cadastrado.                                                                                                                                                                          |\n| `productConfiguration.variantErpCode`   | `String`  | Código da variante no seu ERP, se cadastrado.                                                                                                                                                                         |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **`null` não é erro.** Se o estoque nunca foi configurado para aquela combinação de produto e variante, a consulta retorna `null` em vez de um objeto com valores zerados. Trate isso como \"sem dado configurado\", não como estoque zero.\n- **`inventoryReserved` é somente leitura nesta operação.** O valor reflete pedidos em andamento e é recalculado automaticamente pela Unbox — não há argumento nesta query para alterá-lo.\n- **Disponibilidade real = `inventoryInStock - inventoryReserved`.** Combine com `canBackorder` na sua lógica de exibição: mesmo com disponibilidade zero ou negativa, a venda pode ainda ser permitida se `canBackorder` for `true`. Use `lowInventoryWarningThreshold` para sinalizar \"estoque baixo\" ao comprador antes de chegar a zero."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"simpleInventory\": {\n      \"_id\": \"Example_ID\",\n      \"canBackorder\": true,\n      \"inventoryInStock\": 10,\n      \"inventoryReserved\": 10,\n      \"isEnabled\": true,\n      \"lowInventoryWarningThreshold\": 10,\n      \"productConfiguration\": {\n        \"productId\": \"Example_ID\",\n        \"productVariantId\": \"Example_ID\",\n        \"productErpCode\": \"Example_String\",\n        \"variantErpCode\": \"Example_String\"\n      }\n    }\n  }\n}"},{"id":"0d93b650-9b01-4048-9cce-14d48da0d668","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query SimpleInventory($productConfiguration: ProductConfigurationInput!) {\n  simpleInventory(productConfiguration: $productConfiguration) {\n    _id\n    canBackorder\n    inventoryInStock\n    inventoryReserved\n    isEnabled\n    lowInventoryWarningThreshold\n    productConfiguration {\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n  }\n}","variables":"{\n  \"productConfiguration\": {\n    \"productId\": \"{{productId}}\",\n    \"productVariantId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## simpleInventory\n\n**Propósito:** Consulta o saldo de estoque de uma configuração de produto (produto + variante) na sua loja.\n**Quando usar:** Antes de exibir disponibilidade ou permitir a venda de um item, para saber a quantidade disponível e se o produto aceita venda além do estoque (backorder).\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento.\n\n### Argumentos\n\n| Nome                                    | Tipo                         | Obrigatório | Default | Descrição                                      |\n| --------------------------------------- | ---------------------------- | ----------- | ------- | ---------------------------------------------- |\n| `productConfiguration`                  | `ProductConfigurationInput!` | Sim         | —       | Identifica o produto e a variante consultados. |\n| `productConfiguration.productId`        | `ID!`                        | Sim         | —       | ID do produto.                                 |\n| `productConfiguration.productVariantId` | `ID!`                        | Sim         | —       | ID da variante do produto.                     |\n\n### Retorno\n\nRetorna `null` se o controle de estoque nunca foi inicializado para essa configuração de produto (ver Notas). Quando existe, `SimpleInventoryInfo`:\n\n| Propriedade                             | Tipo      | Descrição                                                                                                                                                                                                             |\n| --------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                   | `ID`      | Identificador do registro de estoque.                                                                                                                                                                                 |\n| `inventoryInStock`                      | `Int`     | Quantidade em estoque.                                                                                                                                                                                                |\n| `inventoryReserved`                     | `Int`     | Quantidade reservada por pedidos em andamento. Calculada automaticamente pela Unbox conforme pedidos são criados/confirmados/cancelados — não é um valor que você define.                                             |\n| `canBackorder`                          | `Boolean` | Se `true`, a venda é permitida mesmo quando a quantidade disponível (`inventoryInStock - inventoryReserved`) chega a zero ou fica negativa.                                                                           |\n| `isEnabled`                             | `Boolean` | Se `false`, o controle de estoque está desativado para esta configuração de produto — a Unbox não usa estes valores para bloquear vendas (os números continuam sendo atualizados, mas não são aplicados como limite). |\n| `lowInventoryWarningThreshold`          | `Int`     | Limiar de \"estoque baixo\": o produto é considerado com estoque baixo quando a quantidade disponível fica igual ou menor que este valor.                                                                               |\n| `productConfiguration.productId`        | `ID`      | Produto retornado.                                                                                                                                                                                                    |\n| `productConfiguration.productVariantId` | `ID`      | Variante retornada.                                                                                                                                                                                                   |\n| `productConfiguration.productErpCode`   | `String`  | Código do produto no seu ERP, se cadastrado.                                                                                                                                                                          |\n| `productConfiguration.variantErpCode`   | `String`  | Código da variante no seu ERP, se cadastrado.                                                                                                                                                                         |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **`null` não é erro.** Se o estoque nunca foi configurado para aquela combinação de produto e variante, a consulta retorna `null` em vez de um objeto com valores zerados. Trate isso como \"sem dado configurado\", não como estoque zero.\n- **`inventoryReserved` é somente leitura nesta operação.** O valor reflete pedidos em andamento e é recalculado automaticamente pela Unbox — não há argumento nesta query para alterá-lo.\n- **Disponibilidade real = `inventoryInStock - inventoryReserved`.** Combine com `canBackorder` na sua lógica de exibição: mesmo com disponibilidade zero ou negativa, a venda pode ainda ser permitida se `canBackorder` for `true`. Use `lowInventoryWarningThreshold` para sinalizar \"estoque baixo\" ao comprador antes de chegar a zero."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"be44f726-6c83-55f4-b62c-b525234a85e2"}],"id":"8b471933-d169-4fc8-afe4-090dee0d6127","_postman_id":"8b471933-d169-4fc8-afe4-090dee0d6127","description":""}],"id":"b2e23934-1587-4939-a4f2-590505212cd6","description":"<h1 id=\"estoque\">Estoque</h1>\n<p>Consulta de saldo de estoque para uma configuração de produto (produto + variante) na sua loja. Cobre a operação <code>simpleInventory</code>.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tipo</th>\n<th>Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductConfigurationInput</code></td>\n<td><code>productId: ID!</code>, <code>productVariantId: ID!</code></td>\n<td>Identifica a combinação produto + variante para a qual você quer o saldo de estoque.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Escopo por loja via autenticação.</strong> <code>simpleInventory</code> não recebe <code>shopId</code> como argumento — a loja é resolvida a partir do seu <code>access_token</code>. Basta autenticar-se corretamente.</li>\n<li><strong><code>null</code> quando o estoque nunca foi inicializado.</strong> Se ninguém configurou o controle de estoque para aquela combinação de produto e variante, a consulta retorna <code>null</code> em vez de um objeto com valores zerados. Trate <code>null</code> como \"sem dado configurado\", não como estoque zero nem como erro.</li>\n</ul>\n","_postman_id":"b2e23934-1587-4939-a4f2-590505212cd6"},{"name":"Orders","item":[{"name":"Query","item":[{"name":"[Query] orders","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns orders data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"orders\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"orders returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.orders;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"ec1179dc-7317-544e-8988-192b450d9dc3","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Orders($filters: OrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  orders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n    }\n    nodes {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n    shippingMethods\n  }\n}","variables":"{\n  \"filters\": {\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentStatus\": [\n      \"completed\"\n    ],\n    \"paymentStatus\": [\n      \"CREATED\"\n    ],\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"searchField\": \"Example_String\",\n    \"status\": [\n      \"CANCELED\"\n    ],\n    \"shippingMethods\": [\n      \"Example_String\"\n    ],\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"source\": [\n      \"STOREFRONT\"\n    ],\n    \"invoiceStatus\": [\n      \"NOT_ISSUED\"\n    ],\n    \"sentToERP\": [\n      \"SENT\"\n    ]\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"orders\">orders</h2>\n<p><strong>Propósito:</strong> Retorna uma lista paginada (Relay) dos pedidos da sua loja, com filtros por período, status, forma de pagamento, forma de entrega, canal de origem e mais.\n<strong>Quando usar:</strong> Para telas e rotinas de acompanhamento de pedidos — dashboards, sincronização periódica com seu ERP/OMS, ou qualquer cenário em que você precise varrer/filtrar vários pedidos. Para buscar um pedido específico já conhecido pelo <code>referenceId</code>, prefira <code>orderByReferenceId</code> (mais direto). É uma leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não existe (nem nunca existiu) um argumento de loja nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>OrderFilterInput</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtros da listagem. Omitido, retorna todos os pedidos da loja. Ver campos abaixo.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor Relay: retorna apenas resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor Relay: retorna apenas resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados, avançando a partir de <code>after</code> (ou do início).</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados, retrocedendo a partir de <code>before</code>.</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Retorna resultados a partir do N-ésimo item — alternativa a <code>after</code> baseada em posição numérica.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code> (<code>asc</code>/<code>desc</code>)</td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Direção da ordenação.</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>OrdersSortByField</code></td>\n<td>Não</td>\n<td><code>createdAt</code></td>\n<td>Campo de ordenação — ver valores abaixo.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-filters-orderfilterinput\">Campos de <code>filters</code> (<code>OrderFilterInput</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>DateFilterInput</code> (<code>{ gte, lte }</code>)</td>\n<td>Filtra por período de criação. Ambos os campos são opcionais e combináveis — envie só um para um filtro \"a partir de\"/\"até\", ou os dois para um intervalo fechado.</td>\n</tr>\n<tr>\n<td><code>fulfillmentStatus</code></td>\n<td><code>[OrderFulfillmentStatus]</code> (<code>new</code>, <code>processing</code>, <code>completed</code>)</td>\n<td>Filtra por status de atendimento/entrega. Lista com \"ou\": qualquer pedido cujo status esteja na lista é retornado.</td>\n</tr>\n<tr>\n<td><code>paymentStatus</code></td>\n<td><code>[PaymentStatusEnum]</code></td>\n<td>Filtra por status de pagamento.</td>\n</tr>\n<tr>\n<td><code>paymentLinkId</code></td>\n<td><code>ID</code></td>\n<td>Filtra por pedidos originados de um link de pagamento específico (<code>_id</code> do link).</td>\n</tr>\n<tr>\n<td><code>searchField</code></td>\n<td><code>String</code></td>\n<td>Busca textual: casa exatamente com o <code>_id</code> do pedido, ou por regex (case-insensitive) com <code>referenceId</code>, e-mail do comprador, CPF/CNPJ ou nome completo do comprador/destinatário e telefone.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>[OrderStatusEnum]</code></td>\n<td>Filtra por status geral do pedido.</td>\n</tr>\n<tr>\n<td><code>shippingMethods</code></td>\n<td><code>[String]</code></td>\n<td>Filtra por nome do método de envio utilizado no pedido.</td>\n</tr>\n<tr>\n<td><code>fulfillmentTypes</code></td>\n<td><code>[FulfillmentType]</code> (<code>SHIPPING</code>, <code>NONE</code>)</td>\n<td>Filtra por tipo de atendimento.</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td><code>[OrderSourceEnum]</code></td>\n<td>Filtra por canal de origem do pedido.</td>\n</tr>\n<tr>\n<td><code>invoiceStatus</code></td>\n<td><code>[OrderInvoiceStatus]</code></td>\n<td>Filtra por status de emissão de nota fiscal.</td>\n</tr>\n<tr>\n<td><code>sentToERP</code></td>\n<td><code>[OrderSentToErpEnum]</code> (<code>SENT</code>, <code>NOT_SENT</code>)</td>\n<td>Filtra por pedidos já enviados (ou não) ao ERP da loja.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Todos os campos de <code>filters</code> são opcionais e combináveis entre si (aplicados com \"e\" — um pedido precisa satisfazer todos os filtros informados).</p>\n<h4 id=\"valores-de-sortby-orderssortbyfield\">Valores de <code>sortBy</code> (<code>OrdersSortByField</code>)</h4>\n<p><code>_id</code>, <code>createdAt</code> (padrão), <code>totalAmount</code>, <code>name</code> (nome/razão social do destinatário), <code>referenceId</code>, <code>shippingMethod</code>.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>OrderConnection!</code> — connection Relay (ver paginação no folder Orders). Cada <code>node</code>/<code>edges[].node</code> é um <code>Order</code> completo — mesmos campos documentados em \"Campos do objeto <code>Order</code>\" na visão geral do folder.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[Order]</code></td>\n<td>Atalho com os pedidos da página atual, sem o wrapper de cursor.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[OrderEdge]</code></td>\n<td>Itens da página com cursor individual.</td>\n</tr>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor daquele item — use em <code>after</code>/<code>before</code> de chamadas seguintes.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code></td>\n<td><code>Order</code></td>\n<td>O pedido.</td>\n</tr>\n<tr>\n<td><code>pageInfo</code></td>\n<td><code>PageInfo!</code></td>\n<td>Metadados de paginação (<code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>).</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de pedidos que correspondem aos filtros, ignorando a paginação.</td>\n</tr>\n<tr>\n<td><code>shippingMethods</code></td>\n<td><code>[String]</code></td>\n<td><strong>Não é a lista de métodos de envio da página atual.</strong> Ver Notas.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>Authorization</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code> e <code>last</code> enviados na mesma chamada, ou <code>last</code> e <code>offset</code> enviados na mesma chamada.</td>\n<td>Envie apenas uma combinação válida por vez — <code>first</code>/<code>after</code> para avançar, <code>last</code>/<code>before</code> para retroceder, ou <code>offset</code> no lugar de <code>after</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha, mesmo aqui. O conflito de paginação chega como um erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável — identifique-o por <code>errors[].message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>shippingMethods</code> ignora os filtros e a paginação da chamada.</strong> É a lista de todos os métodos de envio distintos já usados em pedidos da sua loja, sempre — não reflete <code>filters</code> nem qual página você está lendo. Não use este campo para \"quais métodos aparecem nesta página\"; ele serve para descobrir de antemão quais valores de <code>shippingMethods</code> existem para montar um filtro.</li>\n<li><strong><code>searchField</code> combina múltiplos critérios em um só campo.</strong> Não é possível restringir a busca a apenas um deles (ex.: só e-mail) — a mesma string é testada contra <code>_id</code> (exato), <code>referenceId</code>, e-mail, CPF/CNPJ e nome, todos por regex (exceto <code>_id</code>, que é correspondência exata).</li>\n<li><strong>Página padrão de 20 itens</strong> quando nem <code>first</code> nem <code>last</code> são enviados (ver conflitos de paginação em Erros).</li>\n<li><strong>Filtros de lista (<code>[Enum]</code>) funcionam como \"ou\"</strong>: qualquer pedido cujo valor esteja entre os informados é retornado; filtros diferentes entre si se combinam com \"e\".</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"07d3186e-621c-4240-b866-993ba4905572","name":"200 - orders","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Orders($filters: OrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  orders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n    }\n    nodes {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n    shippingMethods\n  }\n}","variables":"{\n  \"filters\": {\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentStatus\": [\n      \"completed\"\n    ],\n    \"paymentStatus\": [\n      \"CREATED\"\n    ],\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"searchField\": \"Example_String\",\n    \"status\": [\n      \"CANCELED\"\n    ],\n    \"shippingMethods\": [\n      \"Example_String\"\n    ],\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"source\": [\n      \"STOREFRONT\"\n    ],\n    \"invoiceStatus\": [\n      \"NOT_ISSUED\"\n    ],\n    \"sentToERP\": [\n      \"SENT\"\n    ]\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## orders\n\n**Propósito:** Retorna uma lista paginada (Relay) dos pedidos da sua loja, com filtros por período, status, forma de pagamento, forma de entrega, canal de origem e mais.\n**Quando usar:** Para telas e rotinas de acompanhamento de pedidos — dashboards, sincronização periódica com seu ERP/OMS, ou qualquer cenário em que você precise varrer/filtrar vários pedidos. Para buscar um pedido específico já conhecido pelo `referenceId`, prefira `orderByReferenceId` (mais direto). É uma leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não existe (nem nunca existiu) um argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                        |\n| ----------- | -------------------------- | ----------- | ----------- | ------------------------------------------------------------------------------------------------ |\n| `filters`   | `OrderFilterInput`         | Não         | `null`      | Filtros da listagem. Omitido, retorna todos os pedidos da loja. Ver campos abaixo.               |\n| `after`     | `String`                   | Não         | —           | Cursor Relay: retorna apenas resultados após este cursor. Use com `first`.                       |\n| `before`    | `String`                   | Não         | —           | Cursor Relay: retorna apenas resultados antes deste cursor. Use com `last`.                      |\n| `first`     | `Int`                      | Não         | —           | Quantidade máxima de resultados, avançando a partir de `after` (ou do início).                   |\n| `last`      | `Int`                      | Não         | —           | Quantidade máxima de resultados, retrocedendo a partir de `before`.                              |\n| `offset`    | `Int`                      | Não         | —           | Retorna resultados a partir do N-ésimo item — alternativa a `after` baseada em posição numérica. |\n| `sortOrder` | `SortOrder` (`asc`/`desc`) | Não         | `desc`      | Direção da ordenação.                                                                            |\n| `sortBy`    | `OrdersSortByField`        | Não         | `createdAt` | Campo de ordenação — ver valores abaixo.                                                         |\n\n#### Campos de `filters` (`OrderFilterInput`)\n\n| Nome                | Tipo                                                          | Descrição                                                                                                                                                                                     |\n| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createdAt`         | `DateFilterInput` (`{ gte, lte }`)                            | Filtra por período de criação. Ambos os campos são opcionais e combináveis — envie só um para um filtro \"a partir de\"/\"até\", ou os dois para um intervalo fechado.                            |\n| `fulfillmentStatus` | `[OrderFulfillmentStatus]` (`new`, `processing`, `completed`) | Filtra por status de atendimento/entrega. Lista com \"ou\": qualquer pedido cujo status esteja na lista é retornado.                                                                            |\n| `paymentStatus`     | `[PaymentStatusEnum]`                                         | Filtra por status de pagamento.                                                                                                                                                               |\n| `paymentLinkId`     | `ID`                                                          | Filtra por pedidos originados de um link de pagamento específico (`_id` do link).                                                                                                             |\n| `searchField`       | `String`                                                      | Busca textual: casa exatamente com o `_id` do pedido, ou por regex (case-insensitive) com `referenceId`, e-mail do comprador, CPF/CNPJ ou nome completo do comprador/destinatário e telefone. |\n| `status`            | `[OrderStatusEnum]`                                           | Filtra por status geral do pedido.                                                                                                                                                            |\n| `shippingMethods`   | `[String]`                                                    | Filtra por nome do método de envio utilizado no pedido.                                                                                                                                       |\n| `fulfillmentTypes`  | `[FulfillmentType]` (`SHIPPING`, `NONE`)                      | Filtra por tipo de atendimento.                                                                                                                                                               |\n| `source`            | `[OrderSourceEnum]`                                           | Filtra por canal de origem do pedido.                                                                                                                                                         |\n| `invoiceStatus`     | `[OrderInvoiceStatus]`                                        | Filtra por status de emissão de nota fiscal.                                                                                                                                                  |\n| `sentToERP`         | `[OrderSentToErpEnum]` (`SENT`, `NOT_SENT`)                   | Filtra por pedidos já enviados (ou não) ao ERP da loja.                                                                                                                                       |\n\nTodos os campos de `filters` são opcionais e combináveis entre si (aplicados com \"e\" — um pedido precisa satisfazer todos os filtros informados).\n\n#### Valores de `sortBy` (`OrdersSortByField`)\n\n`_id`, `createdAt` (padrão), `totalAmount`, `name` (nome/razão social do destinatário), `referenceId`, `shippingMethod`.\n\n### Retorno\n\n`OrderConnection!` — connection Relay (ver paginação no folder Orders). Cada `node`/`edges[].node` é um `Order` completo — mesmos campos documentados em \"Campos do objeto `Order`\" na visão geral do folder.\n\n| Propriedade       | Tipo          | Descrição                                                                              |\n| ----------------- | ------------- | -------------------------------------------------------------------------------------- |\n| `nodes`           | `[Order]`     | Atalho com os pedidos da página atual, sem o wrapper de cursor.                        |\n| `edges`           | `[OrderEdge]` | Itens da página com cursor individual.                                                 |\n| `edges[].cursor`  | `String!`     | Cursor daquele item — use em `after`/`before` de chamadas seguintes.                   |\n| `edges[].node`    | `Order`       | O pedido.                                                                              |\n| `pageInfo`        | `PageInfo!`   | Metadados de paginação (`hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`). |\n| `totalCount`      | `Int!`        | Total de pedidos que correspondem aos filtros, ignorando a paginação.                  |\n| `shippingMethods` | `[String]`    | **Não é a lista de métodos de envio da página atual.** Ver Notas.                      |\n\n### Erros\n\n| Código            | Condição                                                                                    | O que fazer                                                                                                                                  |\n| ----------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `Authorization` ausente, inválido ou expirado.                                              | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                           |\n| _(sem código)_    | `first` e `last` enviados na mesma chamada, ou `last` e `offset` enviados na mesma chamada. | Envie apenas uma combinação válida por vez — `first`/`after` para avançar, `last`/`before` para retroceder, ou `offset` no lugar de `after`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui. O conflito de paginação chega como um erro de validação com mensagem descritiva, sem `extensions.code` estável — identifique-o por `errors[].message`.\n\n### Notas\n\n- **`shippingMethods` ignora os filtros e a paginação da chamada.** É a lista de todos os métodos de envio distintos já usados em pedidos da sua loja, sempre — não reflete `filters` nem qual página você está lendo. Não use este campo para \"quais métodos aparecem nesta página\"; ele serve para descobrir de antemão quais valores de `shippingMethods` existem para montar um filtro.\n- **`searchField` combina múltiplos critérios em um só campo.** Não é possível restringir a busca a apenas um deles (ex.: só e-mail) — a mesma string é testada contra `_id` (exato), `referenceId`, e-mail, CPF/CNPJ e nome, todos por regex (exceto `_id`, que é correspondência exata).\n- **Página padrão de 20 itens** quando nem `first` nem `last` são enviados (ver conflitos de paginação em Erros).\n- **Filtros de lista (`[Enum]`) funcionam como \"ou\"**: qualquer pedido cujo valor esteja entre os informados é retornado; filtros diferentes entre si se combinam com \"e\"."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"orders\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"cartId\": \"Example_ID\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"displayStatus\": \"Example_String\",\n          \"email\": \"cliente@exemplo.com\",\n          \"recurringOrderId\": \"Example_String\",\n          \"recurringOrderCycleId\": \"Example_String\",\n          \"generatedNewRecurringOrder\": true,\n          \"recurringOrderFrequencyId\": \"Example_String\",\n          \"referenceId\": \"Example_String\",\n          \"source\": \"Example_String\",\n          \"status\": \"CANCELED\",\n          \"totalItemQuantity\": 10,\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"invoiceIssued\": true,\n          \"sentToERP\": true,\n          \"soldToCompany\": true,\n          \"sentToLP\": true,\n          \"dispatched\": true,\n          \"delivered\": true,\n          \"problemDelivering\": true,\n          \"isBoletoPaid\": true,\n          \"shippingLabelPending\": true,\n          \"shippingLabelFailed\": true\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"025f008a-1223-40c4-94f1-ead3d7f15da0","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Orders($filters: OrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  orders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n    }\n    nodes {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n    shippingMethods\n  }\n}","variables":"{\n  \"filters\": {\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentStatus\": [\n      \"completed\"\n    ],\n    \"paymentStatus\": [\n      \"CREATED\"\n    ],\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"searchField\": \"Example_String\",\n    \"status\": [\n      \"CANCELED\"\n    ],\n    \"shippingMethods\": [\n      \"Example_String\"\n    ],\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"source\": [\n      \"STOREFRONT\"\n    ],\n    \"invoiceStatus\": [\n      \"NOT_ISSUED\"\n    ],\n    \"sentToERP\": [\n      \"SENT\"\n    ]\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## orders\n\n**Propósito:** Retorna uma lista paginada (Relay) dos pedidos da sua loja, com filtros por período, status, forma de pagamento, forma de entrega, canal de origem e mais.\n**Quando usar:** Para telas e rotinas de acompanhamento de pedidos — dashboards, sincronização periódica com seu ERP/OMS, ou qualquer cenário em que você precise varrer/filtrar vários pedidos. Para buscar um pedido específico já conhecido pelo `referenceId`, prefira `orderByReferenceId` (mais direto). É uma leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não existe (nem nunca existiu) um argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                        |\n| ----------- | -------------------------- | ----------- | ----------- | ------------------------------------------------------------------------------------------------ |\n| `filters`   | `OrderFilterInput`         | Não         | `null`      | Filtros da listagem. Omitido, retorna todos os pedidos da loja. Ver campos abaixo.               |\n| `after`     | `String`                   | Não         | —           | Cursor Relay: retorna apenas resultados após este cursor. Use com `first`.                       |\n| `before`    | `String`                   | Não         | —           | Cursor Relay: retorna apenas resultados antes deste cursor. Use com `last`.                      |\n| `first`     | `Int`                      | Não         | —           | Quantidade máxima de resultados, avançando a partir de `after` (ou do início).                   |\n| `last`      | `Int`                      | Não         | —           | Quantidade máxima de resultados, retrocedendo a partir de `before`.                              |\n| `offset`    | `Int`                      | Não         | —           | Retorna resultados a partir do N-ésimo item — alternativa a `after` baseada em posição numérica. |\n| `sortOrder` | `SortOrder` (`asc`/`desc`) | Não         | `desc`      | Direção da ordenação.                                                                            |\n| `sortBy`    | `OrdersSortByField`        | Não         | `createdAt` | Campo de ordenação — ver valores abaixo.                                                         |\n\n#### Campos de `filters` (`OrderFilterInput`)\n\n| Nome                | Tipo                                                          | Descrição                                                                                                                                                                                     |\n| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createdAt`         | `DateFilterInput` (`{ gte, lte }`)                            | Filtra por período de criação. Ambos os campos são opcionais e combináveis — envie só um para um filtro \"a partir de\"/\"até\", ou os dois para um intervalo fechado.                            |\n| `fulfillmentStatus` | `[OrderFulfillmentStatus]` (`new`, `processing`, `completed`) | Filtra por status de atendimento/entrega. Lista com \"ou\": qualquer pedido cujo status esteja na lista é retornado.                                                                            |\n| `paymentStatus`     | `[PaymentStatusEnum]`                                         | Filtra por status de pagamento.                                                                                                                                                               |\n| `paymentLinkId`     | `ID`                                                          | Filtra por pedidos originados de um link de pagamento específico (`_id` do link).                                                                                                             |\n| `searchField`       | `String`                                                      | Busca textual: casa exatamente com o `_id` do pedido, ou por regex (case-insensitive) com `referenceId`, e-mail do comprador, CPF/CNPJ ou nome completo do comprador/destinatário e telefone. |\n| `status`            | `[OrderStatusEnum]`                                           | Filtra por status geral do pedido.                                                                                                                                                            |\n| `shippingMethods`   | `[String]`                                                    | Filtra por nome do método de envio utilizado no pedido.                                                                                                                                       |\n| `fulfillmentTypes`  | `[FulfillmentType]` (`SHIPPING`, `NONE`)                      | Filtra por tipo de atendimento.                                                                                                                                                               |\n| `source`            | `[OrderSourceEnum]`                                           | Filtra por canal de origem do pedido.                                                                                                                                                         |\n| `invoiceStatus`     | `[OrderInvoiceStatus]`                                        | Filtra por status de emissão de nota fiscal.                                                                                                                                                  |\n| `sentToERP`         | `[OrderSentToErpEnum]` (`SENT`, `NOT_SENT`)                   | Filtra por pedidos já enviados (ou não) ao ERP da loja.                                                                                                                                       |\n\nTodos os campos de `filters` são opcionais e combináveis entre si (aplicados com \"e\" — um pedido precisa satisfazer todos os filtros informados).\n\n#### Valores de `sortBy` (`OrdersSortByField`)\n\n`_id`, `createdAt` (padrão), `totalAmount`, `name` (nome/razão social do destinatário), `referenceId`, `shippingMethod`.\n\n### Retorno\n\n`OrderConnection!` — connection Relay (ver paginação no folder Orders). Cada `node`/`edges[].node` é um `Order` completo — mesmos campos documentados em \"Campos do objeto `Order`\" na visão geral do folder.\n\n| Propriedade       | Tipo          | Descrição                                                                              |\n| ----------------- | ------------- | -------------------------------------------------------------------------------------- |\n| `nodes`           | `[Order]`     | Atalho com os pedidos da página atual, sem o wrapper de cursor.                        |\n| `edges`           | `[OrderEdge]` | Itens da página com cursor individual.                                                 |\n| `edges[].cursor`  | `String!`     | Cursor daquele item — use em `after`/`before` de chamadas seguintes.                   |\n| `edges[].node`    | `Order`       | O pedido.                                                                              |\n| `pageInfo`        | `PageInfo!`   | Metadados de paginação (`hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`). |\n| `totalCount`      | `Int!`        | Total de pedidos que correspondem aos filtros, ignorando a paginação.                  |\n| `shippingMethods` | `[String]`    | **Não é a lista de métodos de envio da página atual.** Ver Notas.                      |\n\n### Erros\n\n| Código            | Condição                                                                                    | O que fazer                                                                                                                                  |\n| ----------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `Authorization` ausente, inválido ou expirado.                                              | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                           |\n| _(sem código)_    | `first` e `last` enviados na mesma chamada, ou `last` e `offset` enviados na mesma chamada. | Envie apenas uma combinação válida por vez — `first`/`after` para avançar, `last`/`before` para retroceder, ou `offset` no lugar de `after`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui. O conflito de paginação chega como um erro de validação com mensagem descritiva, sem `extensions.code` estável — identifique-o por `errors[].message`.\n\n### Notas\n\n- **`shippingMethods` ignora os filtros e a paginação da chamada.** É a lista de todos os métodos de envio distintos já usados em pedidos da sua loja, sempre — não reflete `filters` nem qual página você está lendo. Não use este campo para \"quais métodos aparecem nesta página\"; ele serve para descobrir de antemão quais valores de `shippingMethods` existem para montar um filtro.\n- **`searchField` combina múltiplos critérios em um só campo.** Não é possível restringir a busca a apenas um deles (ex.: só e-mail) — a mesma string é testada contra `_id` (exato), `referenceId`, e-mail, CPF/CNPJ e nome, todos por regex (exceto `_id`, que é correspondência exata).\n- **Página padrão de 20 itens** quando nem `first` nem `last` são enviados (ver conflitos de paginação em Erros).\n- **Filtros de lista (`[Enum]`) funcionam como \"ou\"**: qualquer pedido cujo valor esteja entre os informados é retornado; filtros diferentes entre si se combinam com \"e\"."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"115a4e82-b1aa-426a-9219-9d88509bf71b","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Orders($filters: OrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  orders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n    }\n    nodes {\n      _id\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      cartId\n      paymentLink {\n        _id\n        referenceId\n        type\n        shopId\n        externalId\n        createdAt\n        updatedAt\n        title\n        createdBy\n        updatedBy\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        constraints {\n          buyerTypes\n          usageLimit\n          expirationDate\n        }\n        status\n        isSoldOut\n        isExpired\n        shipping {\n          fulfillmentType\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          shippingValue {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        description\n        items {\n          _id\n          images {\n            url\n            altText\n          }\n          parcel {\n            weight\n            height\n            width\n            length\n          }\n          title\n          description\n          quantity\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          variantERPCode\n        }\n        ordersCount\n        metadata {\n          orderTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderSummary {\n            type\n            description\n            amount {\n              amount\n              displayAmount\n            }\n          }\n          successCallbackURL\n          customerData {\n            firstName {\n              value\n              editable\n            }\n            lastName {\n              value\n              editable\n            }\n            address1 {\n              value\n              editable\n            }\n            address2 {\n              value\n              editable\n            }\n            number {\n              value\n              editable\n            }\n            neighborhood {\n              value\n              editable\n            }\n            city {\n              value\n              editable\n            }\n            region {\n              value\n              editable\n            }\n            postal {\n              value\n              editable\n            }\n            phone {\n              value\n              editable\n            }\n            taxPayerId {\n              value\n              editable\n            }\n            email {\n              value\n              editable\n            }\n          }\n          discount {\n            discountId\n            code\n            method\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          shopSales {\n            discountId\n            discountCalculationMethod\n            label\n            description\n            totalDiscount {\n              amount\n              displayAmount\n            }\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          orderTotalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n      createdAt\n      discounts {\n        code\n        description\n        discount\n        discountMethod\n        label\n        discountedAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      email\n      fulfillmentGroups {\n        _id\n        address {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        items {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            addedAt\n            attributes {\n              label\n              value\n            }\n            cancelReason\n            createdAt\n            imageURLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            isRecurring\n            isDiscountedBonusItem\n            discountedBonusItemSource {\n              discountMethod\n              discountCalculationMethod\n            }\n            originalPrice {\n              amount\n              displayAmount\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            optionTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            price {\n              amount\n              displayAmount\n            }\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            kitItemConfigurations {\n              productKitId\n            }\n            productSlug\n            productTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            productType\n            productVendor\n            quantity\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            subtotal {\n              amount\n              displayAmount\n            }\n            title\n            updatedAt\n            variantTitle\n            variantTItles\n            isTaxable\n            tax {\n              amount\n              displayAmount\n            }\n            taxCode\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n            thumbnail\n          }\n        }\n      }\n        selectedFulfillmentOption {\n          fulfillmentMethod {\n            _id\n            carrier\n            displayName\n            fulfillmentTypes\n            group\n            name\n            type\n            daysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            description\n            label\n          }\n          handlingPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          discountPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shippingLabel {\n          url\n          content\n        }\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        trackingCode\n        tracking {\n          code\n          url\n          event {\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n        }\n        type\n        taxSummary {\n          calculatedAt\n          calculatedByTaxServiceName\n          referenceId\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n      }\n      notes {\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        content\n        createdAt\n        updatedAt\n      }\n      payments {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        billingAddress {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        captureErrorCode\n        captureErrorMessage\n        cardBrand\n        createdAt\n        displayName\n        isAuthorizationCanceled\n        isCaptured\n        method {\n          canRefund\n          displayName\n          isEnabled\n          name\n          pluginName\n        }\n        mode\n        processor\n        riskLevel\n        status {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        tookLossOnSale\n        transactionId\n        threeDSChallengeRequested\n        threeDSChallengePayload\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      shopSales {\n        _id\n        amount\n        createdAt\n        currencyCode\n        data\n        displayName\n        method\n        mode\n        name\n        paymentPluginName\n        processor\n        status\n        transactionId\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      source\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      updatedAt\n      invoiceIssued\n      sentToERP\n      soldToCompany\n      sentToLP\n      dispatched\n      delivered\n      problemDelivering\n      isBoletoPaid\n      shippingLabelPending\n      shippingLabelFailed\n      surcharges {\n        _id\n        amount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        fulfillmentGroupId\n        surchargeDefinitionId\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n    shippingMethods\n  }\n}","variables":"{\n  \"filters\": {\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"fulfillmentStatus\": [\n      \"completed\"\n    ],\n    \"paymentStatus\": [\n      \"CREATED\"\n    ],\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"searchField\": \"Example_String\",\n    \"status\": [\n      \"CANCELED\"\n    ],\n    \"shippingMethods\": [\n      \"Example_String\"\n    ],\n    \"fulfillmentTypes\": [\n      \"SHIPPING\"\n    ],\n    \"source\": [\n      \"STOREFRONT\"\n    ],\n    \"invoiceStatus\": [\n      \"NOT_ISSUED\"\n    ],\n    \"sentToERP\": [\n      \"SENT\"\n    ]\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## orders\n\n**Propósito:** Retorna uma lista paginada (Relay) dos pedidos da sua loja, com filtros por período, status, forma de pagamento, forma de entrega, canal de origem e mais.\n**Quando usar:** Para telas e rotinas de acompanhamento de pedidos — dashboards, sincronização periódica com seu ERP/OMS, ou qualquer cenário em que você precise varrer/filtrar vários pedidos. Para buscar um pedido específico já conhecido pelo `referenceId`, prefira `orderByReferenceId` (mais direto). É uma leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não existe (nem nunca existiu) um argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                        |\n| ----------- | -------------------------- | ----------- | ----------- | ------------------------------------------------------------------------------------------------ |\n| `filters`   | `OrderFilterInput`         | Não         | `null`      | Filtros da listagem. Omitido, retorna todos os pedidos da loja. Ver campos abaixo.               |\n| `after`     | `String`                   | Não         | —           | Cursor Relay: retorna apenas resultados após este cursor. Use com `first`.                       |\n| `before`    | `String`                   | Não         | —           | Cursor Relay: retorna apenas resultados antes deste cursor. Use com `last`.                      |\n| `first`     | `Int`                      | Não         | —           | Quantidade máxima de resultados, avançando a partir de `after` (ou do início).                   |\n| `last`      | `Int`                      | Não         | —           | Quantidade máxima de resultados, retrocedendo a partir de `before`.                              |\n| `offset`    | `Int`                      | Não         | —           | Retorna resultados a partir do N-ésimo item — alternativa a `after` baseada em posição numérica. |\n| `sortOrder` | `SortOrder` (`asc`/`desc`) | Não         | `desc`      | Direção da ordenação.                                                                            |\n| `sortBy`    | `OrdersSortByField`        | Não         | `createdAt` | Campo de ordenação — ver valores abaixo.                                                         |\n\n#### Campos de `filters` (`OrderFilterInput`)\n\n| Nome                | Tipo                                                          | Descrição                                                                                                                                                                                     |\n| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createdAt`         | `DateFilterInput` (`{ gte, lte }`)                            | Filtra por período de criação. Ambos os campos são opcionais e combináveis — envie só um para um filtro \"a partir de\"/\"até\", ou os dois para um intervalo fechado.                            |\n| `fulfillmentStatus` | `[OrderFulfillmentStatus]` (`new`, `processing`, `completed`) | Filtra por status de atendimento/entrega. Lista com \"ou\": qualquer pedido cujo status esteja na lista é retornado.                                                                            |\n| `paymentStatus`     | `[PaymentStatusEnum]`                                         | Filtra por status de pagamento.                                                                                                                                                               |\n| `paymentLinkId`     | `ID`                                                          | Filtra por pedidos originados de um link de pagamento específico (`_id` do link).                                                                                                             |\n| `searchField`       | `String`                                                      | Busca textual: casa exatamente com o `_id` do pedido, ou por regex (case-insensitive) com `referenceId`, e-mail do comprador, CPF/CNPJ ou nome completo do comprador/destinatário e telefone. |\n| `status`            | `[OrderStatusEnum]`                                           | Filtra por status geral do pedido.                                                                                                                                                            |\n| `shippingMethods`   | `[String]`                                                    | Filtra por nome do método de envio utilizado no pedido.                                                                                                                                       |\n| `fulfillmentTypes`  | `[FulfillmentType]` (`SHIPPING`, `NONE`)                      | Filtra por tipo de atendimento.                                                                                                                                                               |\n| `source`            | `[OrderSourceEnum]`                                           | Filtra por canal de origem do pedido.                                                                                                                                                         |\n| `invoiceStatus`     | `[OrderInvoiceStatus]`                                        | Filtra por status de emissão de nota fiscal.                                                                                                                                                  |\n| `sentToERP`         | `[OrderSentToErpEnum]` (`SENT`, `NOT_SENT`)                   | Filtra por pedidos já enviados (ou não) ao ERP da loja.                                                                                                                                       |\n\nTodos os campos de `filters` são opcionais e combináveis entre si (aplicados com \"e\" — um pedido precisa satisfazer todos os filtros informados).\n\n#### Valores de `sortBy` (`OrdersSortByField`)\n\n`_id`, `createdAt` (padrão), `totalAmount`, `name` (nome/razão social do destinatário), `referenceId`, `shippingMethod`.\n\n### Retorno\n\n`OrderConnection!` — connection Relay (ver paginação no folder Orders). Cada `node`/`edges[].node` é um `Order` completo — mesmos campos documentados em \"Campos do objeto `Order`\" na visão geral do folder.\n\n| Propriedade       | Tipo          | Descrição                                                                              |\n| ----------------- | ------------- | -------------------------------------------------------------------------------------- |\n| `nodes`           | `[Order]`     | Atalho com os pedidos da página atual, sem o wrapper de cursor.                        |\n| `edges`           | `[OrderEdge]` | Itens da página com cursor individual.                                                 |\n| `edges[].cursor`  | `String!`     | Cursor daquele item — use em `after`/`before` de chamadas seguintes.                   |\n| `edges[].node`    | `Order`       | O pedido.                                                                              |\n| `pageInfo`        | `PageInfo!`   | Metadados de paginação (`hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`). |\n| `totalCount`      | `Int!`        | Total de pedidos que correspondem aos filtros, ignorando a paginação.                  |\n| `shippingMethods` | `[String]`    | **Não é a lista de métodos de envio da página atual.** Ver Notas.                      |\n\n### Erros\n\n| Código            | Condição                                                                                    | O que fazer                                                                                                                                  |\n| ----------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `Authorization` ausente, inválido ou expirado.                                              | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                           |\n| _(sem código)_    | `first` e `last` enviados na mesma chamada, ou `last` e `offset` enviados na mesma chamada. | Envie apenas uma combinação válida por vez — `first`/`after` para avançar, `last`/`before` para retroceder, ou `offset` no lugar de `after`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui. O conflito de paginação chega como um erro de validação com mensagem descritiva, sem `extensions.code` estável — identifique-o por `errors[].message`.\n\n### Notas\n\n- **`shippingMethods` ignora os filtros e a paginação da chamada.** É a lista de todos os métodos de envio distintos já usados em pedidos da sua loja, sempre — não reflete `filters` nem qual página você está lendo. Não use este campo para \"quais métodos aparecem nesta página\"; ele serve para descobrir de antemão quais valores de `shippingMethods` existem para montar um filtro.\n- **`searchField` combina múltiplos critérios em um só campo.** Não é possível restringir a busca a apenas um deles (ex.: só e-mail) — a mesma string é testada contra `_id` (exato), `referenceId`, e-mail, CPF/CNPJ e nome, todos por regex (exceto `_id`, que é correspondência exata).\n- **Página padrão de 20 itens** quando nem `first` nem `last` são enviados (ver conflitos de paginação em Erros).\n- **Filtros de lista (`[Enum]`) funcionam como \"ou\"**: qualquer pedido cujo valor esteja entre os informados é retornado; filtros diferentes entre si se combinam com \"e\"."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"ec1179dc-7317-544e-8988-192b450d9dc3"},{"name":"[Query] orderByReferenceId","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns orderByReferenceId data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"orderByReferenceId\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"orderByReferenceId returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.orderByReferenceId;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.account !== undefined && data.account !== null) {","            pm.expect(data.account).to.be.an(\"object\");","        }","        if (data.cartId !== undefined && data.cartId !== null) {","            pm.expect(typeof data.cartId).to.equal(\"string\");","        }","        if (data.paymentLink !== undefined && data.paymentLink !== null) {","            pm.expect(data.paymentLink).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.discounts !== undefined && data.discounts !== null) {","            pm.expect(data.discounts).to.be.an(\"array\");","        }","        pm.expect(data).to.have.property(\"displayStatus\");","        if (data.displayStatus !== undefined && data.displayStatus !== null) {","            pm.expect(typeof data.displayStatus).to.equal(\"string\");","        }","        if (data.email !== undefined && data.email !== null) {","            pm.expect(typeof data.email).to.equal(\"string\");","        }","        if (data.fulfillmentGroups !== undefined && data.fulfillmentGroups !== null) {","            pm.expect(data.fulfillmentGroups).to.be.an(\"array\");","        }","        if (data.notes !== undefined && data.notes !== null) {","            pm.expect(data.notes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"d21a29af-cd9d-5113-8f89-92fe5e8f1a2e","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query OrderByReferenceId($id: ID!) {\n  orderByReferenceId(id: $id) {\n    _id\n    account {\n      _id\n      addressBook {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n        }\n      }\n    }\n      bio\n      createdAt\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      firstName\n      language\n      lastName\n      metafields {\n        receiveNewOrderEmail\n      }\n      name\n      note\n      picture\n      preferences\n      primaryEmailAddress\n      updatedAt\n      userId\n      username\n      externalAccountId\n      isFirstAccess\n      groups {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          createdAt\n          description\n          name\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          updatedAt\n        }\n      }\n    }\n    }\n    cartId\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    createdAt\n    discounts {\n      code\n      description\n      discount\n      discountMethod\n      label\n      discountedAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    email\n    fulfillmentGroups {\n      _id\n      address {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          cancelReason\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          variantTItles\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      selectedFulfillmentOption {\n        fulfillmentMethod {\n          _id\n          carrier\n          displayName\n          fulfillmentTypes\n          group\n          name\n          type\n          daysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          description\n          label\n        }\n        handlingPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        discountPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shippingLabel {\n        url\n        content\n      }\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      trackingCode\n      tracking {\n        code\n        url\n        event {\n          history {\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n          value {\n            status\n            description\n            origin\n            destination\n            createdAt\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          comment\n        }\n      }\n      type\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    notes {\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      content\n      createdAt\n      updatedAt\n    }\n    payments {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      billingAddress {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      captureErrorCode\n      captureErrorMessage\n      cardBrand\n      createdAt\n      displayName\n      isAuthorizationCanceled\n      isCaptured\n      method {\n        canRefund\n        displayName\n        isEnabled\n        name\n        pluginName\n      }\n      mode\n      processor\n      riskLevel\n      status {\n        status\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      tookLossOnSale\n      transactionId\n      threeDSChallengeRequested\n      threeDSChallengePayload\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    shopSales {\n      _id\n      amount\n      createdAt\n      currencyCode\n      data\n      displayName\n      method\n      mode\n      name\n      paymentPluginName\n      processor\n      status\n      transactionId\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    source\n    status\n    summary {\n      discountTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalSavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      effectiveTaxRate {\n        amount\n        displayPercent\n        percent\n      }\n      fulfillmentTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      itemTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxableAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      total {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutDiscounts {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutAnySavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      surchargeTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    totalItemQuantity\n    updatedAt\n    invoiceIssued\n    sentToERP\n    soldToCompany\n    sentToLP\n    dispatched\n    delivered\n    problemDelivering\n    isBoletoPaid\n    shippingLabelPending\n    shippingLabelFailed\n    surcharges {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      fulfillmentGroupId\n      surchargeDefinitionId\n    }\n  }\n}","variables":"{\n  \"id\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"orderbyreferenceid\">orderByReferenceId</h2>\n<p><strong>Propósito:</strong> Retorna um único pedido pelo seu <code>referenceId</code> — o identificador público exibido ao comprador (recibo, e-mail de confirmação, etc.), e não o <code>_id</code> interno do pedido.\n<strong>Quando usar:</strong> Fluxo pós-compra — consulte esta operação para acompanhar a situação de um pedido específico depois que um checkout foi concluído (por exemplo, a partir do <code>referenceId</code> retornado ao final de um link de pagamento, ou de um <code>orderId</code>/<code>referenceId</code> que você já armazenou do seu lado). É uma leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O <code>shopId</code> é injetado a partir do seu token — não envie esse argumento (ele nem existe no schema desta operação).</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>referenceId</code> do pedido — o identificador público mostrado ao comprador, não o <code>_id</code> interno.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>Um objeto <code>Order</code> — ver \"Campos do objeto <code>Order</code>\" na visão geral do folder Orders para a lista completa de propriedades (status, itens/entrega, financeiro, pagamentos, notas, etc.).</p>\n<p><strong>Atenção:</strong> diferente de outras consultas por identificador desta API, esta operação <strong>não</strong> retorna <code>null</code> quando não há um pedido correspondente — ela responde com um erro (ver Erros abaixo). Trate a ausência do pedido como uma falha esperada, não como um resultado vazio.</p>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>Authorization</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Nenhum pedido com esse <code>id</code> (<code>referenceId</code>) existe para a loja associada ao seu token — inclui o caso de o pedido pertencer a outra loja.</td>\n<td>Confirme o <code>referenceId</code> enviado. A busca é sempre restrita à loja do seu token; não é possível consultar pedidos de outra loja mesmo conhecendo o <code>referenceId</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. O erro de \"pedido não encontrado\" não carrega <code>extensions.code</code> estável — identifique-o pelo texto de <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sem resultado é erro, não <code>null</code>.</strong> Ao contrário de operações semelhantes desta API (ex.: consultas de estoque ou de grupo de produtos), um <code>referenceId</code> inexistente ou de outra loja faz a chamada falhar em vez de devolver um objeto vazio.</li>\n<li><strong><code>referenceId</code>, não <code>_id</code>.</strong> Use sempre o identificador público mostrado ao comprador — o <code>_id</code> interno do pedido não é aceito por este argumento.</li>\n<li><strong><code>displayStatus(language: String!)</code></strong> exige o idioma como argumento (ex.: <code>displayStatus(language: \"pt-BR\")</code>) e devolve o valor bruto de <code>status</code> quando a loja não tiver rótulos customizados configurados para aquele idioma.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"51f04be6-7af8-4810-8d7d-52e9e71ae6f4","name":"200 - orderByReferenceId","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query OrderByReferenceId($id: ID!) {\n  orderByReferenceId(id: $id) {\n    _id\n    account {\n      _id\n      addressBook {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n        }\n      }\n    }\n      bio\n      createdAt\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      firstName\n      language\n      lastName\n      metafields {\n        receiveNewOrderEmail\n      }\n      name\n      note\n      picture\n      preferences\n      primaryEmailAddress\n      updatedAt\n      userId\n      username\n      externalAccountId\n      isFirstAccess\n      groups {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          createdAt\n          description\n          name\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          updatedAt\n        }\n      }\n    }\n    }\n    cartId\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    createdAt\n    discounts {\n      code\n      description\n      discount\n      discountMethod\n      label\n      discountedAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    email\n    fulfillmentGroups {\n      _id\n      address {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          cancelReason\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          variantTItles\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      selectedFulfillmentOption {\n        fulfillmentMethod {\n          _id\n          carrier\n          displayName\n          fulfillmentTypes\n          group\n          name\n          type\n          daysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          description\n          label\n        }\n        handlingPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        discountPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shippingLabel {\n        url\n        content\n      }\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      trackingCode\n      tracking {\n        code\n        url\n        event {\n          history {\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n          value {\n            status\n            description\n            origin\n            destination\n            createdAt\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          comment\n        }\n      }\n      type\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    notes {\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      content\n      createdAt\n      updatedAt\n    }\n    payments {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      billingAddress {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      captureErrorCode\n      captureErrorMessage\n      cardBrand\n      createdAt\n      displayName\n      isAuthorizationCanceled\n      isCaptured\n      method {\n        canRefund\n        displayName\n        isEnabled\n        name\n        pluginName\n      }\n      mode\n      processor\n      riskLevel\n      status {\n        status\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      tookLossOnSale\n      transactionId\n      threeDSChallengeRequested\n      threeDSChallengePayload\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    shopSales {\n      _id\n      amount\n      createdAt\n      currencyCode\n      data\n      displayName\n      method\n      mode\n      name\n      paymentPluginName\n      processor\n      status\n      transactionId\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    source\n    status\n    summary {\n      discountTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalSavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      effectiveTaxRate {\n        amount\n        displayPercent\n        percent\n      }\n      fulfillmentTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      itemTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxableAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      total {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutDiscounts {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutAnySavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      surchargeTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    totalItemQuantity\n    updatedAt\n    invoiceIssued\n    sentToERP\n    soldToCompany\n    sentToLP\n    dispatched\n    delivered\n    problemDelivering\n    isBoletoPaid\n    shippingLabelPending\n    shippingLabelFailed\n    surcharges {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      fulfillmentGroupId\n      surchargeDefinitionId\n    }\n  }\n}","variables":"{\n  \"id\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## orderByReferenceId\n\n**Propósito:** Retorna um único pedido pelo seu `referenceId` — o identificador público exibido ao comprador (recibo, e-mail de confirmação, etc.), e não o `_id` interno do pedido.\n**Quando usar:** Fluxo pós-compra — consulte esta operação para acompanhar a situação de um pedido específico depois que um checkout foi concluído (por exemplo, a partir do `referenceId` retornado ao final de um link de pagamento, ou de um `orderId`/`referenceId` que você já armazenou do seu lado). É uma leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento (ele nem existe no schema desta operação).\n\n### Argumentos\n\n| Nome | Tipo  | Obrigatório | Default | Descrição                                                                                       |\n| ---- | ----- | ----------- | ------- | ----------------------------------------------------------------------------------------------- |\n| `id` | `ID!` | Sim         | —       | O `referenceId` do pedido — o identificador público mostrado ao comprador, não o `_id` interno. |\n\n### Retorno\n\nUm objeto `Order` — ver \"Campos do objeto `Order`\" na visão geral do folder Orders para a lista completa de propriedades (status, itens/entrega, financeiro, pagamentos, notas, etc.).\n\n**Atenção:** diferente de outras consultas por identificador desta API, esta operação **não** retorna `null` quando não há um pedido correspondente — ela responde com um erro (ver Erros abaixo). Trate a ausência do pedido como uma falha esperada, não como um resultado vazio.\n\n### Erros\n\n| Código            | Condição                                                                                                                                  | O que fazer                                                                                                                                                       |\n| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `Authorization` ausente, inválido ou expirado.                                                                                            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                |\n| _(sem código)_    | Nenhum pedido com esse `id` (`referenceId`) existe para a loja associada ao seu token — inclui o caso de o pedido pertencer a outra loja. | Confirme o `referenceId` enviado. A busca é sempre restrita à loja do seu token; não é possível consultar pedidos de outra loja mesmo conhecendo o `referenceId`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. O erro de \"pedido não encontrado\" não carrega `extensions.code` estável — identifique-o pelo texto de `message`.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Ao contrário de operações semelhantes desta API (ex.: consultas de estoque ou de grupo de produtos), um `referenceId` inexistente ou de outra loja faz a chamada falhar em vez de devolver um objeto vazio.\n- **`referenceId`, não `_id`.** Use sempre o identificador público mostrado ao comprador — o `_id` interno do pedido não é aceito por este argumento.\n- **`displayStatus(language: String!)`** exige o idioma como argumento (ex.: `displayStatus(language: \"pt-BR\")`) e devolve o valor bruto de `status` quando a loja não tiver rótulos customizados configurados para aquele idioma."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"orderByReferenceId\": {\n      \"_id\": \"Example_ID\",\n      \"account\": {\n        \"_id\": \"Example_ID\",\n        \"bio\": \"Example_String\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"firstName\": \"Example_String\",\n        \"language\": \"Example_String\",\n        \"lastName\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"note\": \"Example_String\",\n        \"picture\": \"Example_String\",\n        \"preferences\": {},\n        \"primaryEmailAddress\": \"cliente@exemplo.com\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"userId\": \"Example_String\",\n        \"username\": \"Example_String\",\n        \"externalAccountId\": \"Example_String\",\n        \"isFirstAccess\": true\n      },\n      \"cartId\": \"Example_ID\",\n      \"paymentLink\": {\n        \"_id\": \"Example_ID\",\n        \"referenceId\": \"Example_String\",\n        \"type\": \"Example_String\",\n        \"shopId\": \"Example_String\",\n        \"externalId\": \"Example_String\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"title\": \"Example_String\",\n        \"createdBy\": \"Example_String\",\n        \"updatedBy\": \"Example_String\",\n        \"status\": \"ACTIVE\",\n        \"isSoldOut\": true,\n        \"isExpired\": true,\n        \"description\": \"Example_String\",\n        \"ordersCount\": 10,\n        \"blockPaymentMethodChange\": true,\n        \"blockApplyDiscountCode\": true,\n        \"blockApplyShopSale\": true\n      },\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"discounts\": [\n        {\n          \"code\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"discount\": \"Example_String\",\n          \"discountMethod\": \"CODE\",\n          \"label\": \"Example_String\"\n        }\n      ],\n      \"displayStatus\": \"Example_String\",\n      \"email\": \"cliente@exemplo.com\",\n      \"fulfillmentGroups\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"displayStatus\": \"Example_String\",\n          \"status\": \"Example_String\",\n          \"totalItemQuantity\": 10,\n          \"trackingCode\": \"Example_String\",\n          \"type\": \"SHIPPING\"\n        }\n      ],\n      \"notes\": [\n        {\n          \"content\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\"\n        }\n      ],\n      \"payments\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"captureErrorCode\": \"Example_String\",\n          \"captureErrorMessage\": \"Example_String\",\n          \"cardBrand\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"displayName\": \"Example_String\",\n          \"isAuthorizationCanceled\": true,\n          \"isCaptured\": true,\n          \"mode\": \"Example_String\",\n          \"processor\": \"Example_String\",\n          \"riskLevel\": \"elevated\",\n          \"tookLossOnSale\": true,\n          \"transactionId\": \"Example_String\",\n          \"threeDSChallengeRequested\": true,\n          \"threeDSChallengePayload\": {}\n        }\n      ],\n      \"shipping\": [\n        {}\n      ],\n      \"shopSales\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"amount\": 99.99,\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"currencyCode\": \"BRL\",\n          \"data\": {},\n          \"displayName\": \"Example_String\",\n          \"method\": \"Example_String\",\n          \"mode\": \"Example_String\",\n          \"name\": \"Example_String\",\n          \"paymentPluginName\": \"Example_String\",\n          \"processor\": \"Example_String\",\n          \"status\": \"Example_String\",\n          \"transactionId\": \"Example_String\"\n        }\n      ],\n      \"recurringOrderId\": \"Example_String\",\n      \"recurringOrderCycleId\": \"Example_String\",\n      \"generatedNewRecurringOrder\": true,\n      \"recurringOrderFrequencyId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"shop\": {\n        \"_id\": \"Example_ID\",\n        \"description\": \"Example_String\",\n        \"isCompany\": true,\n        \"keywords\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"storeTemplateUrl\": \"https://exemplo.com\",\n        \"acceptsBoleto\": true,\n        \"acceptsCreditCard\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"domains\": [\n          \"Example_String\"\n        ],\n        \"trialRemainingDays\": 10,\n        \"sitemap\": \"Example_String\"\n      },\n      \"source\": \"Example_String\",\n      \"status\": \"CANCELED\",\n      \"summary\": {},\n      \"totalItemQuantity\": 10,\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"invoiceIssued\": true,\n      \"sentToERP\": true,\n      \"soldToCompany\": true,\n      \"sentToLP\": true,\n      \"dispatched\": true,\n      \"delivered\": true,\n      \"problemDelivering\": true,\n      \"isBoletoPaid\": true,\n      \"shippingLabelPending\": true,\n      \"shippingLabelFailed\": true,\n      \"surcharges\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"fulfillmentGroupId\": \"Example_ID\",\n          \"message\": \"Example_String\",\n          \"surchargeDefinitionId\": \"Example_ID\"\n        }\n      ]\n    }\n  }\n}"},{"id":"262bbd5b-0319-4089-b1d0-ae56c4bd4869","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query OrderByReferenceId($id: ID!) {\n  orderByReferenceId(id: $id) {\n    _id\n    account {\n      _id\n      addressBook {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n        }\n      }\n    }\n      bio\n      createdAt\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      firstName\n      language\n      lastName\n      metafields {\n        receiveNewOrderEmail\n      }\n      name\n      note\n      picture\n      preferences\n      primaryEmailAddress\n      updatedAt\n      userId\n      username\n      externalAccountId\n      isFirstAccess\n      groups {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          createdAt\n          description\n          name\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          updatedAt\n        }\n      }\n    }\n    }\n    cartId\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    createdAt\n    discounts {\n      code\n      description\n      discount\n      discountMethod\n      label\n      discountedAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    email\n    fulfillmentGroups {\n      _id\n      address {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          cancelReason\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          variantTItles\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      selectedFulfillmentOption {\n        fulfillmentMethod {\n          _id\n          carrier\n          displayName\n          fulfillmentTypes\n          group\n          name\n          type\n          daysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          description\n          label\n        }\n        handlingPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        discountPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shippingLabel {\n        url\n        content\n      }\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      trackingCode\n      tracking {\n        code\n        url\n        event {\n          history {\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n          value {\n            status\n            description\n            origin\n            destination\n            createdAt\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          comment\n        }\n      }\n      type\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    notes {\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      content\n      createdAt\n      updatedAt\n    }\n    payments {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      billingAddress {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      captureErrorCode\n      captureErrorMessage\n      cardBrand\n      createdAt\n      displayName\n      isAuthorizationCanceled\n      isCaptured\n      method {\n        canRefund\n        displayName\n        isEnabled\n        name\n        pluginName\n      }\n      mode\n      processor\n      riskLevel\n      status {\n        status\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      tookLossOnSale\n      transactionId\n      threeDSChallengeRequested\n      threeDSChallengePayload\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    shopSales {\n      _id\n      amount\n      createdAt\n      currencyCode\n      data\n      displayName\n      method\n      mode\n      name\n      paymentPluginName\n      processor\n      status\n      transactionId\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    source\n    status\n    summary {\n      discountTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalSavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      effectiveTaxRate {\n        amount\n        displayPercent\n        percent\n      }\n      fulfillmentTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      itemTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxableAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      total {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutDiscounts {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutAnySavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      surchargeTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    totalItemQuantity\n    updatedAt\n    invoiceIssued\n    sentToERP\n    soldToCompany\n    sentToLP\n    dispatched\n    delivered\n    problemDelivering\n    isBoletoPaid\n    shippingLabelPending\n    shippingLabelFailed\n    surcharges {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      fulfillmentGroupId\n      surchargeDefinitionId\n    }\n  }\n}","variables":"{\n  \"id\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## orderByReferenceId\n\n**Propósito:** Retorna um único pedido pelo seu `referenceId` — o identificador público exibido ao comprador (recibo, e-mail de confirmação, etc.), e não o `_id` interno do pedido.\n**Quando usar:** Fluxo pós-compra — consulte esta operação para acompanhar a situação de um pedido específico depois que um checkout foi concluído (por exemplo, a partir do `referenceId` retornado ao final de um link de pagamento, ou de um `orderId`/`referenceId` que você já armazenou do seu lado). É uma leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento (ele nem existe no schema desta operação).\n\n### Argumentos\n\n| Nome | Tipo  | Obrigatório | Default | Descrição                                                                                       |\n| ---- | ----- | ----------- | ------- | ----------------------------------------------------------------------------------------------- |\n| `id` | `ID!` | Sim         | —       | O `referenceId` do pedido — o identificador público mostrado ao comprador, não o `_id` interno. |\n\n### Retorno\n\nUm objeto `Order` — ver \"Campos do objeto `Order`\" na visão geral do folder Orders para a lista completa de propriedades (status, itens/entrega, financeiro, pagamentos, notas, etc.).\n\n**Atenção:** diferente de outras consultas por identificador desta API, esta operação **não** retorna `null` quando não há um pedido correspondente — ela responde com um erro (ver Erros abaixo). Trate a ausência do pedido como uma falha esperada, não como um resultado vazio.\n\n### Erros\n\n| Código            | Condição                                                                                                                                  | O que fazer                                                                                                                                                       |\n| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `Authorization` ausente, inválido ou expirado.                                                                                            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                |\n| _(sem código)_    | Nenhum pedido com esse `id` (`referenceId`) existe para a loja associada ao seu token — inclui o caso de o pedido pertencer a outra loja. | Confirme o `referenceId` enviado. A busca é sempre restrita à loja do seu token; não é possível consultar pedidos de outra loja mesmo conhecendo o `referenceId`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. O erro de \"pedido não encontrado\" não carrega `extensions.code` estável — identifique-o pelo texto de `message`.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Ao contrário de operações semelhantes desta API (ex.: consultas de estoque ou de grupo de produtos), um `referenceId` inexistente ou de outra loja faz a chamada falhar em vez de devolver um objeto vazio.\n- **`referenceId`, não `_id`.** Use sempre o identificador público mostrado ao comprador — o `_id` interno do pedido não é aceito por este argumento.\n- **`displayStatus(language: String!)`** exige o idioma como argumento (ex.: `displayStatus(language: \"pt-BR\")`) e devolve o valor bruto de `status` quando a loja não tiver rótulos customizados configurados para aquele idioma."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"7a99ba9c-8a73-4b01-a840-d2a56e443264","name":"Erro - REFERENCE_ID_AND_SHOP_ID_ARE_REQUIRED_ERROR","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query OrderByReferenceId($id: ID!) {\n  orderByReferenceId(id: $id) {\n    _id\n    account {\n      _id\n      addressBook {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n        }\n      }\n    }\n      bio\n      createdAt\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      firstName\n      language\n      lastName\n      metafields {\n        receiveNewOrderEmail\n      }\n      name\n      note\n      picture\n      preferences\n      primaryEmailAddress\n      updatedAt\n      userId\n      username\n      externalAccountId\n      isFirstAccess\n      groups {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          createdAt\n          description\n          name\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          updatedAt\n        }\n      }\n    }\n    }\n    cartId\n    paymentLink {\n      _id\n      referenceId\n      type\n      shopId\n      externalId\n      createdAt\n      updatedAt\n      title\n      createdBy\n      updatedBy\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      constraints {\n        buyerTypes\n        usageLimit\n        expirationDate\n      }\n      status\n      isSoldOut\n      isExpired\n      shipping {\n        fulfillmentType\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        shippingValue {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      description\n      items {\n        _id\n        images {\n          url\n          altText\n        }\n        parcel {\n          weight\n          height\n          width\n          length\n        }\n        title\n        description\n        quantity\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        subtotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        variantERPCode\n      }\n      ordersCount\n      metadata {\n        orderTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderSummary {\n          type\n          description\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        successCallbackURL\n        customerData {\n          firstName {\n            value\n            editable\n          }\n          lastName {\n            value\n            editable\n          }\n          address1 {\n            value\n            editable\n          }\n          address2 {\n            value\n            editable\n          }\n          number {\n            value\n            editable\n          }\n          neighborhood {\n            value\n            editable\n          }\n          city {\n            value\n            editable\n          }\n          region {\n            value\n            editable\n          }\n          postal {\n            value\n            editable\n          }\n          phone {\n            value\n            editable\n          }\n          taxPayerId {\n            value\n            editable\n          }\n          email {\n            value\n            editable\n          }\n        }\n        discount {\n          discountId\n          code\n          method\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        shopSales {\n          discountId\n          discountCalculationMethod\n          label\n          description\n          totalDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        orderTotalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      paymentMethod\n      blockPaymentMethodChange\n      blockApplyDiscountCode\n      blockApplyShopSale\n    }\n    createdAt\n    discounts {\n      code\n      description\n      discount\n      discountMethod\n      label\n      discountedAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    email\n    fulfillmentGroups {\n      _id\n      address {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      items {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          addedAt\n          attributes {\n            label\n            value\n          }\n          cancelReason\n          createdAt\n          imageURLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          isRecurring\n          isDiscountedBonusItem\n          discountedBonusItemSource {\n            discountMethod\n            discountCalculationMethod\n          }\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          optionTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          kitItemConfigurations {\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          productSlug\n          productTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          productType\n          productVendor\n          quantity\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          subtotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          title\n          updatedAt\n          variantTitle\n          variantTItles\n          isTaxable\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxCode\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxes {\n            _id\n            jurisdictionId\n            sourcing\n            tax {\n              amount\n              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\n          thumbnail\n        }\n      }\n    }\n      selectedFulfillmentOption {\n        fulfillmentMethod {\n          _id\n          carrier\n          displayName\n          fulfillmentTypes\n          group\n          name\n          type\n          daysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          description\n          label\n        }\n        handlingPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        discountPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      shippingLabel {\n        url\n        content\n      }\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      status\n      summary {\n        discountTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalSavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        effectiveTaxRate {\n          amount\n          displayPercent\n          percent\n        }\n        fulfillmentTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        installmentAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        interest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalBeforeInterest {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        itemTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        total {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutDiscounts {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        totalWithoutAnySavings {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        surchargeTotal {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      totalItemQuantity\n      trackingCode\n      tracking {\n        code\n        url\n        event {\n          history {\n            value {\n              status\n              description\n              origin\n              destination\n              createdAt\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            comment\n          }\n          value {\n            status\n            description\n            origin\n            destination\n            createdAt\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          comment\n        }\n      }\n      type\n      taxSummary {\n        calculatedAt\n        calculatedByTaxServiceName\n        referenceId\n        tax {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxableAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        taxes {\n          _id\n          jurisdictionId\n          sourcing\n          tax {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxName\n          taxRate {\n            amount\n            displayPercent\n            percent\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n    }\n    notes {\n      account {\n        _id\n        addressBook {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n          }\n        }\n      }\n        bio\n        createdAt\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        firstName\n        language\n        lastName\n        metafields {\n          receiveNewOrderEmail\n        }\n        name\n        note\n        picture\n        preferences\n        primaryEmailAddress\n        updatedAt\n        userId\n        username\n        externalAccountId\n        isFirstAccess\n        groups {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            createdAt\n            description\n            name\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            updatedAt\n          }\n        }\n      }\n      }\n      content\n      createdAt\n      updatedAt\n    }\n    payments {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      billingAddress {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      captureErrorCode\n      captureErrorMessage\n      cardBrand\n      createdAt\n      displayName\n      isAuthorizationCanceled\n      isCaptured\n      method {\n        canRefund\n        displayName\n        isEnabled\n        name\n        pluginName\n      }\n      mode\n      processor\n      riskLevel\n      status {\n        status\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          status\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      tookLossOnSale\n      transactionId\n      threeDSChallengeRequested\n      threeDSChallengePayload\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    shopSales {\n      _id\n      amount\n      createdAt\n      currencyCode\n      data\n      displayName\n      method\n      mode\n      name\n      paymentPluginName\n      processor\n      status\n      transactionId\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    source\n    status\n    summary {\n      discountTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalSavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      effectiveTaxRate {\n        amount\n        displayPercent\n        percent\n      }\n      fulfillmentTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      installmentAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      interest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalBeforeInterest {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      itemTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      taxableAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      total {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutDiscounts {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      totalWithoutAnySavings {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      surchargeTotal {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    totalItemQuantity\n    updatedAt\n    invoiceIssued\n    sentToERP\n    soldToCompany\n    sentToLP\n    dispatched\n    delivered\n    problemDelivering\n    isBoletoPaid\n    shippingLabelPending\n    shippingLabelFailed\n    surcharges {\n      _id\n      amount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      fulfillmentGroupId\n      surchargeDefinitionId\n    }\n  }\n}","variables":"{\n  \"id\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## orderByReferenceId\n\n**Propósito:** Retorna um único pedido pelo seu `referenceId` — o identificador público exibido ao comprador (recibo, e-mail de confirmação, etc.), e não o `_id` interno do pedido.\n**Quando usar:** Fluxo pós-compra — consulte esta operação para acompanhar a situação de um pedido específico depois que um checkout foi concluído (por exemplo, a partir do `referenceId` retornado ao final de um link de pagamento, ou de um `orderId`/`referenceId` que você já armazenou do seu lado). É uma leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization`. O `shopId` é injetado a partir do seu token — não envie esse argumento (ele nem existe no schema desta operação).\n\n### Argumentos\n\n| Nome | Tipo  | Obrigatório | Default | Descrição                                                                                       |\n| ---- | ----- | ----------- | ------- | ----------------------------------------------------------------------------------------------- |\n| `id` | `ID!` | Sim         | —       | O `referenceId` do pedido — o identificador público mostrado ao comprador, não o `_id` interno. |\n\n### Retorno\n\nUm objeto `Order` — ver \"Campos do objeto `Order`\" na visão geral do folder Orders para a lista completa de propriedades (status, itens/entrega, financeiro, pagamentos, notas, etc.).\n\n**Atenção:** diferente de outras consultas por identificador desta API, esta operação **não** retorna `null` quando não há um pedido correspondente — ela responde com um erro (ver Erros abaixo). Trate a ausência do pedido como uma falha esperada, não como um resultado vazio.\n\n### Erros\n\n| Código            | Condição                                                                                                                                  | O que fazer                                                                                                                                                       |\n| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `Authorization` ausente, inválido ou expirado.                                                                                            | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                |\n| _(sem código)_    | Nenhum pedido com esse `id` (`referenceId`) existe para a loja associada ao seu token — inclui o caso de o pedido pertencer a outra loja. | Confirme o `referenceId` enviado. A busca é sempre restrita à loja do seu token; não é possível consultar pedidos de outra loja mesmo conhecendo o `referenceId`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. O erro de \"pedido não encontrado\" não carrega `extensions.code` estável — identifique-o pelo texto de `message`.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Ao contrário de operações semelhantes desta API (ex.: consultas de estoque ou de grupo de produtos), um `referenceId` inexistente ou de outra loja faz a chamada falhar em vez de devolver um objeto vazio.\n- **`referenceId`, não `_id`.** Use sempre o identificador público mostrado ao comprador — o `_id` interno do pedido não é aceito por este argumento.\n- **`displayStatus(language: String!)`** exige o idioma como argumento (ex.: `displayStatus(language: \"pt-BR\")`) e devolve o valor bruto de `status` quando a loja não tiver rótulos customizados configurados para aquele idioma."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": null,\n  \"errors\": [\n    {\n      \"message\": \"Reference id and shop id are required error\",\n      \"extensions\": {\n        \"code\": \"REFERENCE_ID_AND_SHOP_ID_ARE_REQUIRED_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"d21a29af-cd9d-5113-8f89-92fe5e8f1a2e"}],"id":"d5d9df18-13cc-444b-af08-24abb2d5a2d1","_postman_id":"d5d9df18-13cc-444b-af08-24abb2d5a2d1","description":""}],"id":"cc319dfc-8c10-4074-acc4-808a5c025830","description":"<h1 id=\"orders\">Orders</h1>\n<p>Consulta de pedidos feitos na sua loja — por <code>referenceId</code> público (<code>orderByReferenceId</code>) ou em uma lista paginada e filtrável (<code>orders</code>). É o principal ponto de acompanhamento pós-compra da API: use estas operações depois que um checkout foi concluído (por exemplo, após <code>createExternalCheckout</code> ou o pagamento de um link) para saber o que aconteceu com o pedido gerado.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum/Tipo</th>\n<th>Valores</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>OrderStatusEnum</code></td>\n<td><code>CANCELED</code>, <code>COMPLETED</code>, <code>FAILED</code>, <code>PENDING</code>, <code>PROCESSING</code>, <code>REFUNDED</code></td>\n<td>Status geral do pedido.</td>\n</tr>\n<tr>\n<td><code>OrderFulfillmentStatus</code></td>\n<td><code>new</code>, <code>processing</code>, <code>completed</code></td>\n<td>Status do processo de entrega/atendimento do pedido, usado no filtro de <code>orders</code>.</td>\n</tr>\n<tr>\n<td><code>PaymentStatusEnum</code></td>\n<td><code>CREATED</code>, <code>AUTHORIZED</code>, <code>CAPTURED</code>, <code>CANCELED</code>, <code>REFUNDED</code>, <code>PAID</code>, <code>PENDING</code>, <code>EXPIRED</code>, <code>CHARGED_BACK</code>, <code>FAILED</code></td>\n<td>Status de um pagamento individual vinculado ao pedido.</td>\n</tr>\n<tr>\n<td><code>OrderSourceEnum</code></td>\n<td><code>STOREFRONT</code>, <code>CART_TEMPLATE</code>, <code>PAYMENT_LINK</code></td>\n<td>Canal de origem do pedido: loja online, template de carrinho ou link de pagamento (ex.: gerado por <code>createExternalCheckout</code>).</td>\n</tr>\n<tr>\n<td><code>OrderInvoiceStatus</code></td>\n<td><code>NOT_ISSUED</code>, <code>PENDING</code>, <code>FAILED</code>, <code>ISSUED</code></td>\n<td>Status de emissão de nota fiscal de um grupo de entrega do pedido.</td>\n</tr>\n<tr>\n<td><code>OrderSentToErpEnum</code></td>\n<td><code>SENT</code>, <code>NOT_SENT</code></td>\n<td>Usado apenas como valor de filtro em <code>orders</code> — indica se o pedido já foi enviado para o ERP da loja.</td>\n</tr>\n<tr>\n<td><code>FulfillmentType</code></td>\n<td><code>SHIPPING</code>, <code>NONE</code></td>\n<td>Tipo de atendimento de um grupo de entrega do pedido.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"campos-do-objeto-order\">Campos do objeto <code>Order</code></h3>\n<p>Tanto <code>orderByReferenceId</code> quanto cada item retornado por <code>orders</code> (<code>nodes[]</code>/<code>edges[].node</code>) têm exatamente este formato.</p>\n<p><strong>Identificação e status</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador interno do pedido.</td>\n</tr>\n<tr>\n<td><code>referenceId</code></td>\n<td><code>String!</code></td>\n<td>Identificador público do pedido, mostrado ao comprador (é o valor usado em <code>orderByReferenceId</code>).</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>OrderStatusEnum!</code></td>\n<td>Status geral do pedido.</td>\n</tr>\n<tr>\n<td><code>displayStatus(language: String!)</code></td>\n<td><code>String!</code></td>\n<td>Rótulo do status legível para humanos, traduzido para o idioma informado (ex.: <code>\"pt-BR\"</code>) se a loja tiver rótulos customizados configurados; caso contrário, retorna o valor bruto de <code>status</code>.</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td><code>String!</code></td>\n<td>Canal de origem do pedido — ver <code>OrderSourceEnum</code>.</td>\n</tr>\n<tr>\n<td><code>createdAt</code> / <code>updatedAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Datas de criação e última atualização do pedido.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Cliente e loja</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>account</code></td>\n<td><code>Account</code></td>\n<td>Conta do comprador dona do pedido. <code>null</code> quando o pedido não está vinculado a uma conta.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>String</code></td>\n<td>E-mail do comprador informado no pedido.</td>\n</tr>\n<tr>\n<td><code>shop</code></td>\n<td><code>Shop!</code></td>\n<td>Loja dona do pedido (sempre a loja associada à sua conta autenticada).</td>\n</tr>\n<tr>\n<td><code>cartId</code></td>\n<td><code>ID</code></td>\n<td>Identificador do carrinho de origem, quando aplicável.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Itens e entrega</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>totalItemQuantity</code></td>\n<td><code>Int!</code></td>\n<td>Soma das quantidades de todos os itens do pedido.</td>\n</tr>\n<tr>\n<td><code>fulfillmentGroups</code></td>\n<td><code>[OrderFulfillmentGroup]!</code></td>\n<td>Itens agrupados por forma de atendimento. Cada grupo traz <code>type</code> (<code>SHIPPING</code>/<code>NONE</code>), <code>status</code>, <code>address</code>, <code>trackingCode</code> (código de rastreio simples, texto), <code>tracking</code> (objeto com <code>code</code>, <code>url</code> e <code>event</code>, quando disponível), <code>selectedFulfillmentOption</code> (método de envio escolhido) e <code>items</code> (lista paginada de <code>OrderItem</code>, com <code>price</code>, <code>quantity</code>, <code>attributes</code>, etc.).</td>\n</tr>\n<tr>\n<td><code>shipping</code></td>\n<td><code>[OrderShipping]</code></td>\n<td>Notas fiscais associadas ao pedido — cada item traz <code>invoice.url</code> e <code>invoice.status</code> (<code>OrderInvoiceStatus</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Financeiro</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>summary</code></td>\n<td><code>OrderSummary!</code></td>\n<td>Totais do pedido: <code>summary.total</code> (total cobrado), <code>summary.itemTotal</code>, <code>summary.taxTotal</code>/<code>summary.taxableAmount</code>, <code>summary.discountTotal</code>/<code>summary.totalSavings</code>, <code>summary.fulfillmentTotal</code> (frete), <code>summary.installmentAmount</code>/<code>summary.interest</code>/<code>summary.totalBeforeInterest</code> (preenchidos quando o pedido foi parcelado), <code>summary.totalWithoutDiscounts</code>/<code>summary.totalWithoutAnySavings</code>. Todo valor monetário é um <code>Money</code> (<code>amount</code>, <code>currency</code>, <code>displayAmount</code> já formatado).</td>\n</tr>\n<tr>\n<td><code>discounts</code></td>\n<td><code>[OrderDiscount]!</code></td>\n<td>Descontos aplicados ao pedido — <code>code</code>, <code>discountMethod</code>, <code>discountedAmount</code>.</td>\n</tr>\n<tr>\n<td><code>payments</code></td>\n<td><code>[Payment]</code></td>\n<td>Pagamentos vinculados ao pedido (pode haver mais de um). Cada um traz <code>method</code>, <code>amount</code>, <code>transactionId</code>, <code>cardBrand</code>, <code>isCaptured</code> e <code>status</code>. <strong><code>status</code> é um objeto</strong> (fluxo do pagamento), não o enum diretamente — o valor atual está em <code>status.status</code> (<code>PaymentStatusEnum</code>), e <code>status.history[]</code> traz o histórico de mudanças. Consulte <code>payments { status { status } }</code>, não <code>payments { status }</code>.</td>\n</tr>\n<tr>\n<td><code>paymentLink</code></td>\n<td><code>PaymentLink</code></td>\n<td>Link de pagamento que originou o pedido, quando <code>source</code> indicar que ele veio de um link. <code>null</code> para pedidos de outras origens.</td>\n</tr>\n<tr>\n<td><code>shopSales</code></td>\n<td><code>[CartBilling]</code></td>\n<td>Detalhamento de cobrança do pedido para a loja, quando aplicável.</td>\n</tr>\n<tr>\n<td><code>invoiceIssued</code> / <code>sentToERP</code> / <code>sentToLP</code></td>\n<td><code>Boolean!</code></td>\n<td>Sinalizadores de faturamento e integração — nota fiscal emitida, enviado ao ERP da loja, enviado à plataforma logística.</td>\n</tr>\n<tr>\n<td><code>soldToCompany</code> / <code>isBoletoPaid</code></td>\n<td><code>Boolean</code></td>\n<td>Se vendido para pessoa jurídica, e (para pagamento via boleto) se já foi pago. <code>null</code> quando não aplicável/ainda não determinado.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Entrega física</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>dispatched</code> / <code>delivered</code> / <code>problemDelivering</code></td>\n<td><code>Boolean</code></td>\n<td>Sinalizadores do ciclo de despacho e entrega física. <code>null</code> quando não aplicável ao tipo de atendimento do pedido.</td>\n</tr>\n<tr>\n<td><code>shippingLabelPending</code> / <code>shippingLabelFailed</code></td>\n<td><code>Boolean</code></td>\n<td>Indicam se a etiqueta de envio ainda está sendo gerada ou se a geração falhou.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Recorrência e notas</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>recurringOrderId</code> / <code>recurringOrderCycleId</code> / <code>recurringOrderFrequencyId</code></td>\n<td><code>String</code></td>\n<td>Preenchidos apenas quando o pedido teve origem em uma assinatura recorrente; <code>null</code> caso contrário.</td>\n</tr>\n<tr>\n<td><code>generatedNewRecurringOrder</code></td>\n<td><code>Boolean</code></td>\n<td>Indica se este pedido gerou um novo ciclo de recorrência.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td><code>[OrderNote]!</code></td>\n<td>Notas registradas no pedido — <code>content</code>, <code>account</code> (quem registrou), <code>createdAt</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"paginação-relay-orders\">Paginação Relay (<code>orders</code>)</h2>\n<p><code>orders</code> retorna uma connection Relay com <code>edges</code> (<code>{ cursor, node }</code>), <code>nodes</code> (atalho sem o wrapper de cursor), <code>pageInfo</code> (<code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>) e <code>totalCount</code>. Para avançar página, envie <code>first</code> + <code>after: &lt;pageInfo.endCursor&gt;</code>; para retroceder, <code>last</code> + <code>before: &lt;pageInfo.startCursor&gt;</code>. Alternativamente, <code>offset</code> pagina por deslocamento numérico. <code>sortOrder</code> (<code>asc</code>/<code>desc</code>, padrão <code>desc</code>) e <code>sortBy</code> controlam a ordenação — padrão <code>createdAt</code>.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Só <code>orderByReferenceId</code> tem o <code>shopId</code> injetado a partir do seu token.</strong> <code>orders</code> nunca teve (nem tem) um argumento de loja no schema — ela já é implicitamente restrita à loja da sua conta autenticada, do mesmo jeito que qualquer outra query autenticada desta API.</li>\n<li><strong>Pedido não encontrado é um erro, não um retorno vazio.</strong> Diferente de outras consultas por identificador desta API (que retornam <code>null</code> quando não há resultado), <code>orderByReferenceId</code> responde com um erro quando o <code>id</code> informado não corresponde a nenhum pedido da sua loja — ver Erros na página da operação.</li>\n<li><strong><code>displayStatus</code> exige o argumento <code>language</code></strong> em ambas as operações. Sem rótulos customizados configurados na loja, ele simplesmente devolve o valor bruto de <code>status</code>.</li>\n</ul>\n","_postman_id":"cc319dfc-8c10-4074-acc4-808a5c025830"},{"name":"Products","item":[{"name":"Query","item":[{"name":"[Query] product","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns product data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"product\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"product returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.product;","    ","    if (data !== null) {","        if (data.price !== undefined && data.price !== null) {","            pm.expect(data.price).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"pricing\");","        if (data.pricing !== undefined && data.pricing !== null) {","            pm.expect(data.pricing).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.erpCode !== undefined && data.erpCode !== null) {","            pm.expect(typeof data.erpCode).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.currentProductHash !== undefined && data.currentProductHash !== null) {","            pm.expect(typeof data.currentProductHash).to.equal(\"string\");","        }","        if (data.description !== undefined && data.description !== null) {","            pm.expect(typeof data.description).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"isDeleted\");","        if (data.isDeleted !== undefined && data.isDeleted !== null) {","            pm.expect(typeof data.isDeleted).to.equal(\"boolean\");","        }","        if (data.isProductPublishable !== undefined && data.isProductPublishable !== null) {","            pm.expect(data.isProductPublishable).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"isVisible\");","        if (data.isVisible !== undefined && data.isVisible !== null) {","            pm.expect(typeof data.isVisible).to.equal(\"boolean\");","        }","    }","});"]}}],"id":"fae4ad96-8525-579c-a9b7-3efe71db1fd7","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Product($productId: ID!) {\n  product(productId: $productId) {\n    price {\n      max\n      min\n      range\n    }\n    pricing {\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayPrice\n      maxPrice\n      minPrice\n      price\n    }\n    _id\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    variants {\n      compareAtPrice\n      price\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      attributeLabel\n      barcode\n      createdAt\n      height\n      index\n      inventory {\n        _id\n        canBackorder\n        inventoryInStock\n        inventoryReserved\n        isEnabled\n        lowInventoryWarningThreshold\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n      }\n      isDeleted\n      isVisible\n      imageUrls\n      videoUrls\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      optionTitle\n      originCountry\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      title\n      updatedAt\n      weight\n      width\n      isTaxable\n      taxCode\n      taxDescription\n    }\n    vendor\n    sortIndex\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"product\">product</h2>\n<p><strong>Propósito:</strong> Retorna os dados administrativos completos de um único produto (tipo SIMPLE, VARIANT ou OPTION) a partir do seu ID — identificação, mídia, estado de publicação, variantes, SEO, tags e preço.\n<strong>Quando usar:</strong> Para consultar ou sincronizar um item específico do catálogo (por exemplo, montar/atualizar uma ficha de produto no seu canal, checar se está publicado/visível, ou revalidar preço antes de um checkout). Para a visão de vitrine já publicada (com URL publicada e descrições de card), prefira <code>catalogItemProductBySlug</code>; se o item for um kit, use <code>productKit</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do produto a consultar.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>Product</code> — os dados administrativos do produto. Principais grupos de campos:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Grupo</th>\n<th>Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Identificação</td>\n<td><code>_id</code>, <code>title</code>, <code>slug</code>, <code>erpCode</code>, <code>vendor</code>, <code>type</code>, <code>description</code></td>\n<td>Identificação e classificação do produto.</td>\n</tr>\n<tr>\n<td>Mídia</td>\n<td><code>media</code>, <code>imageUrls</code>, <code>videoUrls</code></td>\n<td>Imagens e vídeos do produto.</td>\n</tr>\n<tr>\n<td>Publicação</td>\n<td><code>isVisible</code>, <code>isDeleted</code>, <code>publishedAt</code>, <code>isProductPublishable</code>, <code>currentProductHash</code>, <code>publishedProductHash</code>, <code>shouldAppearInSitemap</code></td>\n<td>Estado de publicação/visibilidade e hashes de versão.</td>\n</tr>\n<tr>\n<td>Variantes</td>\n<td><code>variants</code></td>\n<td>Variantes/opções do produto (com o próprio <code>pricing</code> por variante).</td>\n</tr>\n<tr>\n<td>SEO</td>\n<td><code>pageTitle</code>, <code>metaDescription</code>, <code>socialMetadata</code></td>\n<td>Metadados de SEO e compartilhamento.</td>\n</tr>\n<tr>\n<td>Tags/organização</td>\n<td><code>tagIds</code>, <code>tags</code>, <code>metafields</code>, <code>sortIndex</code></td>\n<td>Tags, metafields e ordenação.</td>\n</tr>\n<tr>\n<td>Outros</td>\n<td><code>originCountry</code>, <code>supportedFulfillmentTypes</code>, <code>createdAt</code>, <code>updatedAt</code></td>\n<td>País de origem, tipos de fulfillment suportados e timestamps.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Preço (<code>price</code>/<code>pricing</code>) detalhado:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>price</code></td>\n<td><code>ProductPriceRange</code></td>\n<td>Faixa de preço do produto (relevante quando o item tem variantes com preços diferentes).</td>\n</tr>\n<tr>\n<td><code>price.min</code> / <code>price.max</code></td>\n<td><code>Float</code></td>\n<td>Menor/maior preço entre as combinações possíveis do produto.</td>\n</tr>\n<tr>\n<td><code>price.range</code></td>\n<td><code>String</code></td>\n<td>Texto pronto para exibição da faixa de preço.</td>\n</tr>\n<tr>\n<td><code>pricing</code></td>\n<td><code>VariantPricingInfo!</code></td>\n<td>Informações de preço para exibição direta.</td>\n</tr>\n<tr>\n<td><code>pricing.price</code></td>\n<td><code>Float</code></td>\n<td>Preço do item quando ele já é uma unidade vendável (sem variantes/opções pendentes de seleção). É <code>null</code> quando o produto ainda depende de escolher uma variante/opção.</td>\n</tr>\n<tr>\n<td><code>pricing.minPrice</code> / <code>pricing.maxPrice</code></td>\n<td><code>Float!</code></td>\n<td>Menor/maior preço possível considerando as combinações de variante/opção.</td>\n</tr>\n<tr>\n<td><code>pricing.compareAtPrice</code></td>\n<td><code>Money</code></td>\n<td>Preço \"de/por\" (ex.: preço riscado). É <code>null</code> quando <code>pricing.price</code> também é <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>pricing.displayPrice</code></td>\n<td><code>String!</code></td>\n<td>Texto pronto para exibição, já incluindo o símbolo da moeda (ex.: <code>\"R$ 149,90\"</code> ou uma faixa como <code>\"R$ 3,95 - R$ 6,99\"</code>).</td>\n</tr>\n<tr>\n<td><code>pricing.currency</code></td>\n<td><code>Currency!</code></td>\n<td>Moeda em que os valores acima estão expressos (<code>code</code>, <code>symbol</code>, <code>format</code>, etc.).</td>\n</tr>\n<tr>\n<td><code>pricing.currencyExchangePricing(currencyCode)</code></td>\n<td><code>CurrencyExchangeProductPricingInfo</code></td>\n<td>Mesmas informações de preço convertidas para outra moeda (<code>currencyCode</code> no padrão ISO, ex.: <code>\"USD\"</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>productId</code> inexistente (ou de outra loja/tipo) não gera erro.</strong> A resposta é <code>product: null</code>. Isso inclui passar o ID de um produto do tipo KIT — use <code>productKit</code> para esses.</li>\n<li>Este é o mesmo comportamento de tipo/filtro documentado no folder: apenas produtos SIMPLE, VARIANT e OPTION são retornados por esta operação.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a521c8a5-262b-4889-9497-d3648bba62f1","name":"200 - product","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Product($productId: ID!) {\n  product(productId: $productId) {\n    price {\n      max\n      min\n      range\n    }\n    pricing {\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayPrice\n      maxPrice\n      minPrice\n      price\n    }\n    _id\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    variants {\n      compareAtPrice\n      price\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      attributeLabel\n      barcode\n      createdAt\n      height\n      index\n      inventory {\n        _id\n        canBackorder\n        inventoryInStock\n        inventoryReserved\n        isEnabled\n        lowInventoryWarningThreshold\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n      }\n      isDeleted\n      isVisible\n      imageUrls\n      videoUrls\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      optionTitle\n      originCountry\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      title\n      updatedAt\n      weight\n      width\n      isTaxable\n      taxCode\n      taxDescription\n    }\n    vendor\n    sortIndex\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"## product\n\n**Propósito:** Retorna os dados administrativos completos de um único produto (tipo SIMPLE, VARIANT ou OPTION) a partir do seu ID — identificação, mídia, estado de publicação, variantes, SEO, tags e preço.\n**Quando usar:** Para consultar ou sincronizar um item específico do catálogo (por exemplo, montar/atualizar uma ficha de produto no seu canal, checar se está publicado/visível, ou revalidar preço antes de um checkout). Para a visão de vitrine já publicada (com URL publicada e descrições de card), prefira `catalogItemProductBySlug`; se o item for um kit, use `productKit`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo  | Obrigatório | Default | Descrição                  |\n| ----------- | ----- | ----------- | ------- | -------------------------- |\n| `productId` | `ID!` | Sim         | —       | ID do produto a consultar. |\n\n### Retorno\n\n`Product` — os dados administrativos do produto. Principais grupos de campos:\n\n| Grupo            | Campos                                                                                                                                 | Descrição                                                           |\n| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |\n| Identificação    | `_id`, `title`, `slug`, `erpCode`, `vendor`, `type`, `description`                                                                     | Identificação e classificação do produto.                           |\n| Mídia            | `media`, `imageUrls`, `videoUrls`                                                                                                      | Imagens e vídeos do produto.                                        |\n| Publicação       | `isVisible`, `isDeleted`, `publishedAt`, `isProductPublishable`, `currentProductHash`, `publishedProductHash`, `shouldAppearInSitemap` | Estado de publicação/visibilidade e hashes de versão.               |\n| Variantes        | `variants`                                                                                                                             | Variantes/opções do produto (com o próprio `pricing` por variante). |\n| SEO              | `pageTitle`, `metaDescription`, `socialMetadata`                                                                                       | Metadados de SEO e compartilhamento.                                |\n| Tags/organização | `tagIds`, `tags`, `metafields`, `sortIndex`                                                                                            | Tags, metafields e ordenação.                                       |\n| Outros           | `originCountry`, `supportedFulfillmentTypes`, `createdAt`, `updatedAt`                                                                 | País de origem, tipos de fulfillment suportados e timestamps.       |\n\nPreço (`price`/`pricing`) detalhado:\n\n| Propriedade                                     | Tipo                                 | Descrição                                                                                                                                                               |\n| ----------------------------------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `price`                                         | `ProductPriceRange`                  | Faixa de preço do produto (relevante quando o item tem variantes com preços diferentes).                                                                                |\n| `price.min` / `price.max`                       | `Float`                              | Menor/maior preço entre as combinações possíveis do produto.                                                                                                            |\n| `price.range`                                   | `String`                             | Texto pronto para exibição da faixa de preço.                                                                                                                           |\n| `pricing`                                       | `VariantPricingInfo!`                | Informações de preço para exibição direta.                                                                                                                              |\n| `pricing.price`                                 | `Float`                              | Preço do item quando ele já é uma unidade vendável (sem variantes/opções pendentes de seleção). É `null` quando o produto ainda depende de escolher uma variante/opção. |\n| `pricing.minPrice` / `pricing.maxPrice`         | `Float!`                             | Menor/maior preço possível considerando as combinações de variante/opção.                                                                                               |\n| `pricing.compareAtPrice`                        | `Money`                              | Preço \"de/por\" (ex.: preço riscado). É `null` quando `pricing.price` também é `null`.                                                                                   |\n| `pricing.displayPrice`                          | `String!`                            | Texto pronto para exibição, já incluindo o símbolo da moeda (ex.: `\"R$ 149,90\"` ou uma faixa como `\"R$ 3,95 - R$ 6,99\"`).                                               |\n| `pricing.currency`                              | `Currency!`                          | Moeda em que os valores acima estão expressos (`code`, `symbol`, `format`, etc.).                                                                                       |\n| `pricing.currencyExchangePricing(currencyCode)` | `CurrencyExchangeProductPricingInfo` | Mesmas informações de preço convertidas para outra moeda (`currencyCode` no padrão ISO, ex.: `\"USD\"`).                                                                  |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.\n\n### Notas\n\n- **`productId` inexistente (ou de outra loja/tipo) não gera erro.** A resposta é `product: null`. Isso inclui passar o ID de um produto do tipo KIT — use `productKit` para esses.\n- Este é o mesmo comportamento de tipo/filtro documentado no folder: apenas produtos SIMPLE, VARIANT e OPTION são retornados por esta operação."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"product\": {\n      \"price\": {\n        \"max\": 99.99,\n        \"min\": 99.99,\n        \"range\": \"Example_String\"\n      },\n      \"pricing\": {\n        \"displayPrice\": 99.99,\n        \"maxPrice\": 99.99,\n        \"minPrice\": 99.99,\n        \"price\": 99.99\n      },\n      \"_id\": \"Example_ID\",\n      \"erpCode\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"currentProductHash\": \"Example_String\",\n      \"description\": \"Example_String\",\n      \"isDeleted\": true,\n      \"isProductPublishable\": {\n        \"isProductPublishable\": true\n      },\n      \"isVisible\": true,\n      \"imageUrls\": [\n        \"https://exemplo.com\"\n      ],\n      \"videoUrls\": [\n        \"https://exemplo.com\"\n      ],\n      \"media\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"priority\": 10,\n          \"productId\": \"Example_ID\",\n          \"variantId\": \"Example_ID\"\n        }\n      ],\n      \"metaDescription\": \"Example_String\",\n      \"metafields\": [\n        {\n          \"description\": \"Example_String\",\n          \"key\": \"Example_String\",\n          \"namespace\": \"Example_String\",\n          \"scope\": \"Example_String\",\n          \"value\": 99.99,\n          \"valueType\": \"Example_String\"\n        }\n      ],\n      \"originCountry\": \"Example_String\",\n      \"pageTitle\": \"Example_String\",\n      \"type\": \"SIMPLE\",\n      \"publishedAt\": \"2025-01-15T10:00:00Z\",\n      \"publishedProductHash\": \"Example_String\",\n      \"shop\": {\n        \"_id\": \"Example_ID\",\n        \"description\": \"Example_String\",\n        \"isCompany\": true,\n        \"keywords\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"storeTemplateUrl\": \"https://exemplo.com\",\n        \"acceptsBoleto\": true,\n        \"acceptsCreditCard\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"domains\": [\n          \"Example_String\"\n        ],\n        \"trialRemainingDays\": 10,\n        \"sitemap\": \"Example_String\"\n      },\n      \"shouldAppearInSitemap\": true,\n      \"slug\": \"Example_String\",\n      \"socialMetadata\": [\n        {\n          \"message\": \"Example_String\",\n          \"service\": \"facebook\"\n        }\n      ],\n      \"supportedFulfillmentTypes\": [\n        \"SHIPPING\"\n      ],\n      \"tagIds\": [\n        \"Example_ID\"\n      ],\n      \"tags\": {\n        \"nodes\": [\n          {\n            \"_id\": \"Example_ID\",\n            \"erpCode\": \"Example_String\",\n            \"createdAt\": \"2025-01-15T10:00:00Z\",\n            \"displayTitle\": \"Example_String\",\n            \"description\": \"Example_String\",\n            \"featuredProductIds\": [\n              \"Example_ID\"\n            ],\n            \"isDeleted\": true,\n            \"isTopLevel\": true,\n            \"isVisible\": true,\n            \"name\": \"Example_String\",\n            \"position\": 10,\n            \"publishedUrl\": \"https://exemplo.com\",\n            \"slug\": \"Example_String\",\n            \"subTagIds\": [\n              \"Example_ID\"\n            ],\n            \"updatedAt\": \"2025-01-15T10:00:00Z\"\n          }\n        ],\n        \"pageInfo\": {\n          \"hasNextPage\": false,\n          \"endCursor\": null\n        },\n        \"totalCount\": 10\n      },\n      \"title\": \"Example_String\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"variants\": [\n        {\n          \"compareAtPrice\": 99.99,\n          \"price\": 99.99,\n          \"_id\": \"Example_ID\",\n          \"erpCode\": \"Example_String\",\n          \"attributeLabel\": \"Example_String\",\n          \"barcode\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"height\": 99.99,\n          \"index\": 10,\n          \"isDeleted\": true,\n          \"isVisible\": true,\n          \"imageUrls\": [\n            \"https://exemplo.com\"\n          ],\n          \"videoUrls\": [\n            \"https://exemplo.com\"\n          ],\n          \"length\": 99.99,\n          \"minOrderQuantity\": 10,\n          \"maxOrderQuantity\": 10,\n          \"optionTitle\": \"Example_String\",\n          \"originCountry\": \"Example_String\",\n          \"sku\": \"Example_String\",\n          \"title\": \"Example_String\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"weight\": 99.99,\n          \"width\": 99.99,\n          \"isTaxable\": true,\n          \"taxCode\": \"Example_String\",\n          \"taxDescription\": \"Example_String\"\n        }\n      ],\n      \"vendor\": \"Example_String\",\n      \"sortIndex\": 10\n    }\n  }\n}"},{"id":"7ed78af0-37f3-4a6e-af1d-3393a7482dcc","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Product($productId: ID!) {\n  product(productId: $productId) {\n    price {\n      max\n      min\n      range\n    }\n    pricing {\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayPrice\n      maxPrice\n      minPrice\n      price\n    }\n    _id\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    variants {\n      compareAtPrice\n      price\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      attributeLabel\n      barcode\n      createdAt\n      height\n      index\n      inventory {\n        _id\n        canBackorder\n        inventoryInStock\n        inventoryReserved\n        isEnabled\n        lowInventoryWarningThreshold\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n      }\n      isDeleted\n      isVisible\n      imageUrls\n      videoUrls\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      optionTitle\n      originCountry\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      title\n      updatedAt\n      weight\n      width\n      isTaxable\n      taxCode\n      taxDescription\n    }\n    vendor\n    sortIndex\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"## product\n\n**Propósito:** Retorna os dados administrativos completos de um único produto (tipo SIMPLE, VARIANT ou OPTION) a partir do seu ID — identificação, mídia, estado de publicação, variantes, SEO, tags e preço.\n**Quando usar:** Para consultar ou sincronizar um item específico do catálogo (por exemplo, montar/atualizar uma ficha de produto no seu canal, checar se está publicado/visível, ou revalidar preço antes de um checkout). Para a visão de vitrine já publicada (com URL publicada e descrições de card), prefira `catalogItemProductBySlug`; se o item for um kit, use `productKit`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo  | Obrigatório | Default | Descrição                  |\n| ----------- | ----- | ----------- | ------- | -------------------------- |\n| `productId` | `ID!` | Sim         | —       | ID do produto a consultar. |\n\n### Retorno\n\n`Product` — os dados administrativos do produto. Principais grupos de campos:\n\n| Grupo            | Campos                                                                                                                                 | Descrição                                                           |\n| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |\n| Identificação    | `_id`, `title`, `slug`, `erpCode`, `vendor`, `type`, `description`                                                                     | Identificação e classificação do produto.                           |\n| Mídia            | `media`, `imageUrls`, `videoUrls`                                                                                                      | Imagens e vídeos do produto.                                        |\n| Publicação       | `isVisible`, `isDeleted`, `publishedAt`, `isProductPublishable`, `currentProductHash`, `publishedProductHash`, `shouldAppearInSitemap` | Estado de publicação/visibilidade e hashes de versão.               |\n| Variantes        | `variants`                                                                                                                             | Variantes/opções do produto (com o próprio `pricing` por variante). |\n| SEO              | `pageTitle`, `metaDescription`, `socialMetadata`                                                                                       | Metadados de SEO e compartilhamento.                                |\n| Tags/organização | `tagIds`, `tags`, `metafields`, `sortIndex`                                                                                            | Tags, metafields e ordenação.                                       |\n| Outros           | `originCountry`, `supportedFulfillmentTypes`, `createdAt`, `updatedAt`                                                                 | País de origem, tipos de fulfillment suportados e timestamps.       |\n\nPreço (`price`/`pricing`) detalhado:\n\n| Propriedade                                     | Tipo                                 | Descrição                                                                                                                                                               |\n| ----------------------------------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `price`                                         | `ProductPriceRange`                  | Faixa de preço do produto (relevante quando o item tem variantes com preços diferentes).                                                                                |\n| `price.min` / `price.max`                       | `Float`                              | Menor/maior preço entre as combinações possíveis do produto.                                                                                                            |\n| `price.range`                                   | `String`                             | Texto pronto para exibição da faixa de preço.                                                                                                                           |\n| `pricing`                                       | `VariantPricingInfo!`                | Informações de preço para exibição direta.                                                                                                                              |\n| `pricing.price`                                 | `Float`                              | Preço do item quando ele já é uma unidade vendável (sem variantes/opções pendentes de seleção). É `null` quando o produto ainda depende de escolher uma variante/opção. |\n| `pricing.minPrice` / `pricing.maxPrice`         | `Float!`                             | Menor/maior preço possível considerando as combinações de variante/opção.                                                                                               |\n| `pricing.compareAtPrice`                        | `Money`                              | Preço \"de/por\" (ex.: preço riscado). É `null` quando `pricing.price` também é `null`.                                                                                   |\n| `pricing.displayPrice`                          | `String!`                            | Texto pronto para exibição, já incluindo o símbolo da moeda (ex.: `\"R$ 149,90\"` ou uma faixa como `\"R$ 3,95 - R$ 6,99\"`).                                               |\n| `pricing.currency`                              | `Currency!`                          | Moeda em que os valores acima estão expressos (`code`, `symbol`, `format`, etc.).                                                                                       |\n| `pricing.currencyExchangePricing(currencyCode)` | `CurrencyExchangeProductPricingInfo` | Mesmas informações de preço convertidas para outra moeda (`currencyCode` no padrão ISO, ex.: `\"USD\"`).                                                                  |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.\n\n### Notas\n\n- **`productId` inexistente (ou de outra loja/tipo) não gera erro.** A resposta é `product: null`. Isso inclui passar o ID de um produto do tipo KIT — use `productKit` para esses.\n- Este é o mesmo comportamento de tipo/filtro documentado no folder: apenas produtos SIMPLE, VARIANT e OPTION são retornados por esta operação."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"cce9983f-8aa0-4321-83cb-0dd03c33631e","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Product($productId: ID!) {\n  product(productId: $productId) {\n    price {\n      max\n      min\n      range\n    }\n    pricing {\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayPrice\n      maxPrice\n      minPrice\n      price\n    }\n    _id\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    variants {\n      compareAtPrice\n      price\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      attributeLabel\n      barcode\n      createdAt\n      height\n      index\n      inventory {\n        _id\n        canBackorder\n        inventoryInStock\n        inventoryReserved\n        isEnabled\n        lowInventoryWarningThreshold\n        productConfiguration {\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n      }\n      isDeleted\n      isVisible\n      imageUrls\n      videoUrls\n      length\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      minOrderQuantity\n      maxOrderQuantity\n      optionTitle\n      originCountry\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      sku\n      title\n      updatedAt\n      weight\n      width\n      isTaxable\n      taxCode\n      taxDescription\n    }\n    vendor\n    sortIndex\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"## product\n\n**Propósito:** Retorna os dados administrativos completos de um único produto (tipo SIMPLE, VARIANT ou OPTION) a partir do seu ID — identificação, mídia, estado de publicação, variantes, SEO, tags e preço.\n**Quando usar:** Para consultar ou sincronizar um item específico do catálogo (por exemplo, montar/atualizar uma ficha de produto no seu canal, checar se está publicado/visível, ou revalidar preço antes de um checkout). Para a visão de vitrine já publicada (com URL publicada e descrições de card), prefira `catalogItemProductBySlug`; se o item for um kit, use `productKit`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo  | Obrigatório | Default | Descrição                  |\n| ----------- | ----- | ----------- | ------- | -------------------------- |\n| `productId` | `ID!` | Sim         | —       | ID do produto a consultar. |\n\n### Retorno\n\n`Product` — os dados administrativos do produto. Principais grupos de campos:\n\n| Grupo            | Campos                                                                                                                                 | Descrição                                                           |\n| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |\n| Identificação    | `_id`, `title`, `slug`, `erpCode`, `vendor`, `type`, `description`                                                                     | Identificação e classificação do produto.                           |\n| Mídia            | `media`, `imageUrls`, `videoUrls`                                                                                                      | Imagens e vídeos do produto.                                        |\n| Publicação       | `isVisible`, `isDeleted`, `publishedAt`, `isProductPublishable`, `currentProductHash`, `publishedProductHash`, `shouldAppearInSitemap` | Estado de publicação/visibilidade e hashes de versão.               |\n| Variantes        | `variants`                                                                                                                             | Variantes/opções do produto (com o próprio `pricing` por variante). |\n| SEO              | `pageTitle`, `metaDescription`, `socialMetadata`                                                                                       | Metadados de SEO e compartilhamento.                                |\n| Tags/organização | `tagIds`, `tags`, `metafields`, `sortIndex`                                                                                            | Tags, metafields e ordenação.                                       |\n| Outros           | `originCountry`, `supportedFulfillmentTypes`, `createdAt`, `updatedAt`                                                                 | País de origem, tipos de fulfillment suportados e timestamps.       |\n\nPreço (`price`/`pricing`) detalhado:\n\n| Propriedade                                     | Tipo                                 | Descrição                                                                                                                                                               |\n| ----------------------------------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `price`                                         | `ProductPriceRange`                  | Faixa de preço do produto (relevante quando o item tem variantes com preços diferentes).                                                                                |\n| `price.min` / `price.max`                       | `Float`                              | Menor/maior preço entre as combinações possíveis do produto.                                                                                                            |\n| `price.range`                                   | `String`                             | Texto pronto para exibição da faixa de preço.                                                                                                                           |\n| `pricing`                                       | `VariantPricingInfo!`                | Informações de preço para exibição direta.                                                                                                                              |\n| `pricing.price`                                 | `Float`                              | Preço do item quando ele já é uma unidade vendável (sem variantes/opções pendentes de seleção). É `null` quando o produto ainda depende de escolher uma variante/opção. |\n| `pricing.minPrice` / `pricing.maxPrice`         | `Float!`                             | Menor/maior preço possível considerando as combinações de variante/opção.                                                                                               |\n| `pricing.compareAtPrice`                        | `Money`                              | Preço \"de/por\" (ex.: preço riscado). É `null` quando `pricing.price` também é `null`.                                                                                   |\n| `pricing.displayPrice`                          | `String!`                            | Texto pronto para exibição, já incluindo o símbolo da moeda (ex.: `\"R$ 149,90\"` ou uma faixa como `\"R$ 3,95 - R$ 6,99\"`).                                               |\n| `pricing.currency`                              | `Currency!`                          | Moeda em que os valores acima estão expressos (`code`, `symbol`, `format`, etc.).                                                                                       |\n| `pricing.currencyExchangePricing(currencyCode)` | `CurrencyExchangeProductPricingInfo` | Mesmas informações de preço convertidas para outra moeda (`currencyCode` no padrão ISO, ex.: `\"USD\"`).                                                                  |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.\n\n### Notas\n\n- **`productId` inexistente (ou de outra loja/tipo) não gera erro.** A resposta é `product: null`. Isso inclui passar o ID de um produto do tipo KIT — use `productKit` para esses.\n- Este é o mesmo comportamento de tipo/filtro documentado no folder: apenas produtos SIMPLE, VARIANT e OPTION são retornados por esta operação."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"fae4ad96-8525-579c-a9b7-3efe71db1fd7"},{"name":"[Query] products","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns products data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"products\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"products returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.products;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"34c4f5d2-ab37-57fb-99a0-3b90ef747433","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Products($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  products(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        price {\n          max\n          min\n          range\n        }\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        variants {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n        vendor\n        sortIndex\n      }\n    }\n    nodes {\n      price {\n        max\n        min\n        range\n      }\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      variants {\n        compareAtPrice\n        price\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        inventory {\n          _id\n          canBackorder\n          inventoryInStock\n          inventoryReserved\n          isEnabled\n          lowInventoryWarningThreshold\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        isDeleted\n        isVisible\n        imageUrls\n        videoUrls\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        weight\n        width\n        isTaxable\n        taxCode\n        taxDescription\n      }\n      vendor\n      sortIndex\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"products\">products</h2>\n<p><strong>Propósito:</strong> Lista, com paginação, os produtos do tipo SIMPLE, VARIANT e OPTION da sua loja, com filtros por arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual.\n<strong>Quando usar:</strong> Para montar ou sincronizar um catálogo no seu canal, aplicar filtros de exibição (ex.: apenas produtos visíveis e não arquivados) ou buscar produtos por texto/tag/metafield antes de decidir quais exibir. Para um único item já conhecido, prefira <code>product</code>, que evita o overhead de paginação.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Todos os argumentos são opcionais e combináveis. Ver a seção <strong>Paginação Relay</strong> no folder deste domínio para os argumentos de paginação.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>isArchived</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>null</code> (sem filtro)</td>\n<td>Filtra por produtos arquivados (<code>true</code>) ou não arquivados (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>isVisible</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>null</code> (sem filtro)</td>\n<td>Filtra por produtos visíveis (<code>true</code>) ou ocultos (<code>false</code>) na loja.</td>\n</tr>\n<tr>\n<td><code>metafieldKey</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtra por produtos que tenham um metafield com esta chave. Combine com <code>metafieldValue</code>.</td>\n</tr>\n<tr>\n<td><code>metafieldValue</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtra por produtos que tenham um metafield com este valor. Combine com <code>metafieldKey</code>.</td>\n</tr>\n<tr>\n<td><code>priceMin</code></td>\n<td><code>Float</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Preço mínimo do produto.</td>\n</tr>\n<tr>\n<td><code>priceMax</code></td>\n<td><code>Float</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Preço máximo do produto.</td>\n</tr>\n<tr>\n<td><code>productIds</code></td>\n<td><code>[ID]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Lista de IDs de produto para restringir o resultado a esse conjunto específico.</td>\n</tr>\n<tr>\n<td><code>query</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Busca textual (regex) livre sobre o produto.</td>\n</tr>\n<tr>\n<td><code>tagIds</code></td>\n<td><code>[ID]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Lista de IDs de tag para filtrar produtos associados a qualquer uma delas.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor de paginação — retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor de paginação — retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Quantidade máxima de resultados a retornar. Use com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Quantidade máxima de resultados a retornar, a partir do fim. Use com <code>before</code> (não combine com <code>offset</code>).</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Pula os N primeiros resultados. Use com <code>first</code> (não combine com <code>last</code>).</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Direção da ordenação (<code>asc</code>/<code>desc</code>).</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>ProductSortByField</code></td>\n<td>Não</td>\n<td><code>createdAt</code></td>\n<td>Campo de ordenação (<code>_id</code>, <code>createdAt</code>, <code>title</code>, <code>updatedAt</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>ProductConnection</code> — uma connection Relay (ver <strong>Paginação Relay</strong> no folder deste domínio). Cada nó é um <code>Product</code> completo (identificação, mídia, estado de publicação, variantes, SEO, tags e preço) — ver a operação <code>product</code> para o detalhamento dos grupos de campos e de <code>price</code>/<code>pricing</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor do item, usado com <code>after</code>/<code>before</code> para paginar.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code></td>\n<td><code>Product</code></td>\n<td>O produto em si (mesma forma retornada por <code>product</code>).</td>\n</tr>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[Product]</code></td>\n<td>Atalho com os produtos diretamente, sem o wrapper de cursor de <code>edges</code>.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasNextPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há mais resultados após a página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasPreviousPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há resultados antes da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.startCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do primeiro item da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.endCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do último item da página atual.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de produtos que atendem aos filtros, independente da paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Argumentos <code>last</code> e <code>offset</code> enviados juntos.</td>\n<td>Erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável. Envie apenas um dos dois esquemas de paginação por chamada.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Sem filtros, esta operação retorna todo o catálogo elegível (SIMPLE/VARIANT/OPTION) da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de <code>totalCount</code> sozinho para decidir o volume de chamadas.</li>\n<li><code>query</code> faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1834d6b7-dbd9-4a0d-afe7-f51691d0ac1b","name":"200 - products","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Products($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  products(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        price {\n          max\n          min\n          range\n        }\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        variants {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n        vendor\n        sortIndex\n      }\n    }\n    nodes {\n      price {\n        max\n        min\n        range\n      }\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      variants {\n        compareAtPrice\n        price\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        inventory {\n          _id\n          canBackorder\n          inventoryInStock\n          inventoryReserved\n          isEnabled\n          lowInventoryWarningThreshold\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        isDeleted\n        isVisible\n        imageUrls\n        videoUrls\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        weight\n        width\n        isTaxable\n        taxCode\n        taxDescription\n      }\n      vendor\n      sortIndex\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## products\n\n**Propósito:** Lista, com paginação, os produtos do tipo SIMPLE, VARIANT e OPTION da sua loja, com filtros por arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual.\n**Quando usar:** Para montar ou sincronizar um catálogo no seu canal, aplicar filtros de exibição (ex.: apenas produtos visíveis e não arquivados) ou buscar produtos por texto/tag/metafield antes de decidir quais exibir. Para um único item já conhecido, prefira `product`, que evita o overhead de paginação.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome             | Tipo                 | Obrigatório | Default             | Descrição                                                                                                 |\n| ---------------- | -------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------- |\n| `isArchived`     | `Boolean`            | Não         | `null` (sem filtro) | Filtra por produtos arquivados (`true`) ou não arquivados (`false`).                                      |\n| `isVisible`      | `Boolean`            | Não         | `null` (sem filtro) | Filtra por produtos visíveis (`true`) ou ocultos (`false`) na loja.                                       |\n| `metafieldKey`   | `String`             | Não         | `null`              | Filtra por produtos que tenham um metafield com esta chave. Combine com `metafieldValue`.                 |\n| `metafieldValue` | `String`             | Não         | `null`              | Filtra por produtos que tenham um metafield com este valor. Combine com `metafieldKey`.                   |\n| `priceMin`       | `Float`              | Não         | `null`              | Preço mínimo do produto.                                                                                  |\n| `priceMax`       | `Float`              | Não         | `null`              | Preço máximo do produto.                                                                                  |\n| `productIds`     | `[ID]`               | Não         | `null`              | Lista de IDs de produto para restringir o resultado a esse conjunto específico.                           |\n| `query`          | `String`             | Não         | `null`              | Busca textual (regex) livre sobre o produto.                                                              |\n| `tagIds`         | `[ID]`               | Não         | `null`              | Lista de IDs de tag para filtrar produtos associados a qualquer uma delas.                                |\n| `after`          | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                               |\n| `before`         | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                              |\n| `first`          | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                  |\n| `last`           | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`         | `Int`                | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                 |\n| `sortOrder`      | `SortOrder`          | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                      |\n| `sortBy`         | `ProductSortByField` | Não         | `createdAt`         | Campo de ordenação (`_id`, `createdAt`, `title`, `updatedAt`).                                            |\n\n### Retorno\n\n`ProductConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). Cada nó é um `Product` completo (identificação, mídia, estado de publicação, variantes, SEO, tags e preço) — ver a operação `product` para o detalhamento dos grupos de campos e de `price`/`pricing`.\n\n| Propriedade                | Tipo        | Descrição                                                               |\n| -------------------------- | ----------- | ----------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`   | Cursor do item, usado com `after`/`before` para paginar.                |\n| `edges[].node`             | `Product`   | O produto em si (mesma forma retornada por `product`).                  |\n| `nodes`                    | `[Product]` | Atalho com os produtos diretamente, sem o wrapper de cursor de `edges`. |\n| `pageInfo.hasNextPage`     | `Boolean!`  | Se há mais resultados após a página atual.                              |\n| `pageInfo.hasPreviousPage` | `Boolean!`  | Se há resultados antes da página atual.                                 |\n| `pageInfo.startCursor`     | `String`    | Cursor do primeiro item da página atual.                                |\n| `pageInfo.endCursor`       | `String`    | Cursor do último item da página atual.                                  |\n| `totalCount`               | `Int!`      | Total de produtos que atendem aos filtros, independente da paginação.   |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                                                                           |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                    |\n| _(sem código)_    | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Sem filtros, esta operação retorna todo o catálogo elegível (SIMPLE/VARIANT/OPTION) da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de `totalCount` sozinho para decidir o volume de chamadas.\n- `query` faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"products\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"erpCode\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"currentProductHash\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"isDeleted\": true,\n          \"isVisible\": true,\n          \"imageUrls\": [\n            \"https://exemplo.com\"\n          ],\n          \"videoUrls\": [\n            \"https://exemplo.com\"\n          ],\n          \"metaDescription\": \"Example_String\",\n          \"originCountry\": \"Example_String\",\n          \"pageTitle\": \"Example_String\",\n          \"type\": \"SIMPLE\",\n          \"publishedAt\": \"2025-01-15T10:00:00Z\",\n          \"publishedProductHash\": \"Example_String\",\n          \"shouldAppearInSitemap\": true,\n          \"slug\": \"Example_String\",\n          \"supportedFulfillmentTypes\": [\n            \"SHIPPING\"\n          ],\n          \"tagIds\": [\n            \"Example_ID\"\n          ],\n          \"title\": \"Example_String\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"vendor\": \"Example_String\",\n          \"sortIndex\": 10\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"efd22d55-ad22-4904-b667-8bfcfb20537e","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Products($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  products(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        price {\n          max\n          min\n          range\n        }\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        variants {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n        vendor\n        sortIndex\n      }\n    }\n    nodes {\n      price {\n        max\n        min\n        range\n      }\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      variants {\n        compareAtPrice\n        price\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        inventory {\n          _id\n          canBackorder\n          inventoryInStock\n          inventoryReserved\n          isEnabled\n          lowInventoryWarningThreshold\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        isDeleted\n        isVisible\n        imageUrls\n        videoUrls\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        weight\n        width\n        isTaxable\n        taxCode\n        taxDescription\n      }\n      vendor\n      sortIndex\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## products\n\n**Propósito:** Lista, com paginação, os produtos do tipo SIMPLE, VARIANT e OPTION da sua loja, com filtros por arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual.\n**Quando usar:** Para montar ou sincronizar um catálogo no seu canal, aplicar filtros de exibição (ex.: apenas produtos visíveis e não arquivados) ou buscar produtos por texto/tag/metafield antes de decidir quais exibir. Para um único item já conhecido, prefira `product`, que evita o overhead de paginação.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome             | Tipo                 | Obrigatório | Default             | Descrição                                                                                                 |\n| ---------------- | -------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------- |\n| `isArchived`     | `Boolean`            | Não         | `null` (sem filtro) | Filtra por produtos arquivados (`true`) ou não arquivados (`false`).                                      |\n| `isVisible`      | `Boolean`            | Não         | `null` (sem filtro) | Filtra por produtos visíveis (`true`) ou ocultos (`false`) na loja.                                       |\n| `metafieldKey`   | `String`             | Não         | `null`              | Filtra por produtos que tenham um metafield com esta chave. Combine com `metafieldValue`.                 |\n| `metafieldValue` | `String`             | Não         | `null`              | Filtra por produtos que tenham um metafield com este valor. Combine com `metafieldKey`.                   |\n| `priceMin`       | `Float`              | Não         | `null`              | Preço mínimo do produto.                                                                                  |\n| `priceMax`       | `Float`              | Não         | `null`              | Preço máximo do produto.                                                                                  |\n| `productIds`     | `[ID]`               | Não         | `null`              | Lista de IDs de produto para restringir o resultado a esse conjunto específico.                           |\n| `query`          | `String`             | Não         | `null`              | Busca textual (regex) livre sobre o produto.                                                              |\n| `tagIds`         | `[ID]`               | Não         | `null`              | Lista de IDs de tag para filtrar produtos associados a qualquer uma delas.                                |\n| `after`          | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                               |\n| `before`         | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                              |\n| `first`          | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                  |\n| `last`           | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`         | `Int`                | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                 |\n| `sortOrder`      | `SortOrder`          | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                      |\n| `sortBy`         | `ProductSortByField` | Não         | `createdAt`         | Campo de ordenação (`_id`, `createdAt`, `title`, `updatedAt`).                                            |\n\n### Retorno\n\n`ProductConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). Cada nó é um `Product` completo (identificação, mídia, estado de publicação, variantes, SEO, tags e preço) — ver a operação `product` para o detalhamento dos grupos de campos e de `price`/`pricing`.\n\n| Propriedade                | Tipo        | Descrição                                                               |\n| -------------------------- | ----------- | ----------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`   | Cursor do item, usado com `after`/`before` para paginar.                |\n| `edges[].node`             | `Product`   | O produto em si (mesma forma retornada por `product`).                  |\n| `nodes`                    | `[Product]` | Atalho com os produtos diretamente, sem o wrapper de cursor de `edges`. |\n| `pageInfo.hasNextPage`     | `Boolean!`  | Se há mais resultados após a página atual.                              |\n| `pageInfo.hasPreviousPage` | `Boolean!`  | Se há resultados antes da página atual.                                 |\n| `pageInfo.startCursor`     | `String`    | Cursor do primeiro item da página atual.                                |\n| `pageInfo.endCursor`       | `String`    | Cursor do último item da página atual.                                  |\n| `totalCount`               | `Int!`      | Total de produtos que atendem aos filtros, independente da paginação.   |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                                                                           |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                    |\n| _(sem código)_    | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Sem filtros, esta operação retorna todo o catálogo elegível (SIMPLE/VARIANT/OPTION) da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de `totalCount` sozinho para decidir o volume de chamadas.\n- `query` faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"8839459d-4cc4-4b2d-b7ca-ac305beb9a8d","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Products($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  products(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        price {\n          max\n          min\n          range\n        }\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        variants {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n        vendor\n        sortIndex\n      }\n    }\n    nodes {\n      price {\n        max\n        min\n        range\n      }\n      pricing {\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayPrice\n        maxPrice\n        minPrice\n        price\n      }\n      _id\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      variants {\n        compareAtPrice\n        price\n        pricing {\n          compareAtPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayPrice\n          maxPrice\n          minPrice\n          price\n        }\n        _id\n        erpCode\n        attributeLabel\n        barcode\n        createdAt\n        height\n        index\n        inventory {\n          _id\n          canBackorder\n          inventoryInStock\n          inventoryReserved\n          isEnabled\n          lowInventoryWarningThreshold\n          productConfiguration {\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n        }\n        isDeleted\n        isVisible\n        imageUrls\n        videoUrls\n        length\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        minOrderQuantity\n        maxOrderQuantity\n        optionTitle\n        originCountry\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        sku\n        title\n        updatedAt\n        weight\n        width\n        isTaxable\n        taxCode\n        taxDescription\n      }\n      vendor\n      sortIndex\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## products\n\n**Propósito:** Lista, com paginação, os produtos do tipo SIMPLE, VARIANT e OPTION da sua loja, com filtros por arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual.\n**Quando usar:** Para montar ou sincronizar um catálogo no seu canal, aplicar filtros de exibição (ex.: apenas produtos visíveis e não arquivados) ou buscar produtos por texto/tag/metafield antes de decidir quais exibir. Para um único item já conhecido, prefira `product`, que evita o overhead de paginação.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome             | Tipo                 | Obrigatório | Default             | Descrição                                                                                                 |\n| ---------------- | -------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------- |\n| `isArchived`     | `Boolean`            | Não         | `null` (sem filtro) | Filtra por produtos arquivados (`true`) ou não arquivados (`false`).                                      |\n| `isVisible`      | `Boolean`            | Não         | `null` (sem filtro) | Filtra por produtos visíveis (`true`) ou ocultos (`false`) na loja.                                       |\n| `metafieldKey`   | `String`             | Não         | `null`              | Filtra por produtos que tenham um metafield com esta chave. Combine com `metafieldValue`.                 |\n| `metafieldValue` | `String`             | Não         | `null`              | Filtra por produtos que tenham um metafield com este valor. Combine com `metafieldKey`.                   |\n| `priceMin`       | `Float`              | Não         | `null`              | Preço mínimo do produto.                                                                                  |\n| `priceMax`       | `Float`              | Não         | `null`              | Preço máximo do produto.                                                                                  |\n| `productIds`     | `[ID]`               | Não         | `null`              | Lista de IDs de produto para restringir o resultado a esse conjunto específico.                           |\n| `query`          | `String`             | Não         | `null`              | Busca textual (regex) livre sobre o produto.                                                              |\n| `tagIds`         | `[ID]`               | Não         | `null`              | Lista de IDs de tag para filtrar produtos associados a qualquer uma delas.                                |\n| `after`          | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                               |\n| `before`         | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                              |\n| `first`          | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                  |\n| `last`           | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`         | `Int`                | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                 |\n| `sortOrder`      | `SortOrder`          | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                      |\n| `sortBy`         | `ProductSortByField` | Não         | `createdAt`         | Campo de ordenação (`_id`, `createdAt`, `title`, `updatedAt`).                                            |\n\n### Retorno\n\n`ProductConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). Cada nó é um `Product` completo (identificação, mídia, estado de publicação, variantes, SEO, tags e preço) — ver a operação `product` para o detalhamento dos grupos de campos e de `price`/`pricing`.\n\n| Propriedade                | Tipo        | Descrição                                                               |\n| -------------------------- | ----------- | ----------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`   | Cursor do item, usado com `after`/`before` para paginar.                |\n| `edges[].node`             | `Product`   | O produto em si (mesma forma retornada por `product`).                  |\n| `nodes`                    | `[Product]` | Atalho com os produtos diretamente, sem o wrapper de cursor de `edges`. |\n| `pageInfo.hasNextPage`     | `Boolean!`  | Se há mais resultados após a página atual.                              |\n| `pageInfo.hasPreviousPage` | `Boolean!`  | Se há resultados antes da página atual.                                 |\n| `pageInfo.startCursor`     | `String`    | Cursor do primeiro item da página atual.                                |\n| `pageInfo.endCursor`       | `String`    | Cursor do último item da página atual.                                  |\n| `totalCount`               | `Int!`      | Total de produtos que atendem aos filtros, independente da paginação.   |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                                                                           |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                    |\n| _(sem código)_    | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Sem filtros, esta operação retorna todo o catálogo elegível (SIMPLE/VARIANT/OPTION) da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de `totalCount` sozinho para decidir o volume de chamadas.\n- `query` faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"34c4f5d2-ab37-57fb-99a0-3b90ef747433"},{"name":"[Query] productKit","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns productKit data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"productKit\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"productKit returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.productKit;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"requiredPicksPerGroup\");","        if (data.requiredPicksPerGroup !== undefined && data.requiredPicksPerGroup !== null) {","            pm.expect(typeof data.requiredPicksPerGroup).to.equal(\"number\");","        }","        if (data.titleLabel !== undefined && data.titleLabel !== null) {","            pm.expect(typeof data.titleLabel).to.equal(\"string\");","        }","        if (data.highlightLabel !== undefined && data.highlightLabel !== null) {","            pm.expect(typeof data.highlightLabel).to.equal(\"string\");","        }","        if (data.unitPriceLabel !== undefined && data.unitPriceLabel !== null) {","            pm.expect(typeof data.unitPriceLabel).to.equal(\"string\");","        }","        if (data.kitGroupDescription !== undefined && data.kitGroupDescription !== null) {","            pm.expect(typeof data.kitGroupDescription).to.equal(\"string\");","        }","        if (data.price !== undefined && data.price !== null) {","            pm.expect(typeof data.price).to.equal(\"number\");","        }","        if (data.compareAtPrice !== undefined && data.compareAtPrice !== null) {","            pm.expect(typeof data.compareAtPrice).to.equal(\"number\");","        }","        if (data.erpCode !== undefined && data.erpCode !== null) {","            pm.expect(typeof data.erpCode).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","    }","});"]}}],"id":"21b74673-fdcb-57de-9b4f-89108a952adb","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKit($productId: ID!) {\n  productKit(productId: $productId) {\n    _id\n    requiredPicksPerGroup\n    titleLabel\n    highlightLabel\n    unitPriceLabel\n    kitGroupDescription\n    price {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    compareAtPrice {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    measurementsInformation\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    kitComponents {\n      productTitle\n      variantTitle\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      label\n      kitLabelImage\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n    vendor\n    sortIndex\n    minOrderQuantity\n    maxOrderQuantity\n    unitPriceFactor\n    relatedInfo {\n      title\n      highlightLabel\n      showUnitPrice\n    }\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"productkit\">productKit</h2>\n<p><strong>Propósito:</strong> Retorna um único produto do tipo KIT (combo com componentes obrigatórios) a partir do seu ID, com título, preço, mídia, tags e a lista de componentes.\n<strong>Quando usar:</strong> Para exibir a página de um kit específico ou consultar seus componentes antes de montar um carrinho. Para um item que não é kit, use <code>product</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do produto (kit) a consultar.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>ProductKit</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>ID!</code></td>\n<td>ID do kit.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td><code>String</code></td>\n<td>Título do kit.</td>\n</tr>\n<tr>\n<td><code>titleLabel</code></td>\n<td><code>String</code></td>\n<td>Texto customizado de um rótulo exibido junto ao título.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td><code>String</code></td>\n<td>Descrição completa do kit (pode conter quebras de linha).</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td><code>String</code></td>\n<td>Identificador legível e único para URL.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td><code>ProductTypesEnum</code></td>\n<td>Sempre <code>KIT</code> para esta operação.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td><code>Money</code></td>\n<td>Preço do kit.</td>\n</tr>\n<tr>\n<td><code>compareAtPrice</code></td>\n<td><code>Money</code></td>\n<td>Preço \"de\" (comparação), quando aplicável.</td>\n</tr>\n<tr>\n<td><code>erpCode</code></td>\n<td><code>String</code></td>\n<td>Código do kit no ERP, se houver.</td>\n</tr>\n<tr>\n<td><code>requiredPicksPerGroup</code></td>\n<td><code>Int!</code></td>\n<td>Quantidade de escolhas obrigatórias por grupo de componentes para o kit poder ser adicionado a um carrinho.</td>\n</tr>\n<tr>\n<td><code>kitComponents</code></td>\n<td><code>[ProductKitComponent]!</code></td>\n<td>Componentes (produto + variante) que formam o kit. Ver tabela abaixo. Pode conter menos itens que a configuração original (ver Notas).</td>\n</tr>\n<tr>\n<td><code>kitGroupDescription</code></td>\n<td><code>String</code></td>\n<td>Texto descritivo da seção de componentes do kit.</td>\n</tr>\n<tr>\n<td><code>highlightLabel</code></td>\n<td><code>String</code></td>\n<td>Rótulo de destaque do kit em relação a outros.</td>\n</tr>\n<tr>\n<td><code>unitPriceLabel</code></td>\n<td><code>String</code></td>\n<td>Rótulo do que representa a unidade do kit (ex.: caixa, sabor, lata).</td>\n</tr>\n<tr>\n<td><code>unitPriceFactor</code></td>\n<td><code>Int</code></td>\n<td>Fator de divisão para calcular o preço por unidade do kit.</td>\n</tr>\n<tr>\n<td><code>relatedInfo</code></td>\n<td><code>ProductKitRelatedInfo</code></td>\n<td>Informações resumidas do kit (<code>title</code>, <code>highlightLabel</code>, <code>showUnitPrice</code>) usadas quando o kit é referenciado em outro contexto.</td>\n</tr>\n<tr>\n<td><code>isVisible</code></td>\n<td><code>Boolean!</code></td>\n<td>Se o kit deve ser exibido para compradores.</td>\n</tr>\n<tr>\n<td><code>isDeleted</code></td>\n<td><code>Boolean!</code></td>\n<td>Se o kit foi excluído (kits excluídos normalmente não são retornados pelas queries).</td>\n</tr>\n<tr>\n<td><code>isProductPublishable</code></td>\n<td><code>IsProductPublishable</code></td>\n<td><code>isProductPublishable</code> (Boolean) + <code>errorsList</code> (<code>[{ message, path }]</code>) detalhando o que falta para o kit poder ser publicado.</td>\n</tr>\n<tr>\n<td><code>imageUrls</code> / <code>videoUrls</code></td>\n<td><code>[String]</code></td>\n<td>URLs de imagens/vídeos do kit.</td>\n</tr>\n<tr>\n<td><code>media(shouldIncludeVariantMedia)</code></td>\n<td><code>[ImageInfo]</code></td>\n<td>Mídia completa do kit (<code>URLs.large/medium/original/small/thumbnail</code>, <code>priority</code>). Por padrão (<code>shouldIncludeVariantMedia: true</code>) inclui também mídia das variantes componentes.</td>\n</tr>\n<tr>\n<td><code>metafields</code></td>\n<td><code>[Metafield]!</code></td>\n<td>Atributos customizados (<code>key</code>, <code>value</code>, <code>namespace</code>, <code>scope</code>, <code>valueType</code>, <code>description</code>).</td>\n</tr>\n<tr>\n<td><code>socialMetadata</code></td>\n<td><code>[SocialMetadata]</code></td>\n<td>Texto de compartilhamento sugerido por rede social (<code>message</code>, <code>service</code>).</td>\n</tr>\n<tr>\n<td><code>tagIds</code> / <code>tags</code></td>\n<td><code>[ID]</code> / <code>TagConnection</code></td>\n<td>IDs de tags associadas e a connection paginada correspondente.</td>\n</tr>\n<tr>\n<td><code>vendor</code></td>\n<td><code>String</code></td>\n<td>Fabricante/fornecedor do kit, para exibição.</td>\n</tr>\n<tr>\n<td><code>minOrderQuantity</code> / <code>maxOrderQuantity</code></td>\n<td><code>Int</code></td>\n<td>Quantidade mínima/máxima do kit permitida por pedido.</td>\n</tr>\n<tr>\n<td><code>supportedFulfillmentTypes</code></td>\n<td><code>[FulfillmentType]!</code></td>\n<td>Tipos de atendimento suportados (<code>SHIPPING</code>, <code>NONE</code>).</td>\n</tr>\n<tr>\n<td><code>shouldAppearInSitemap</code></td>\n<td><code>Boolean</code></td>\n<td>Se o kit deve aparecer no sitemap gerado.</td>\n</tr>\n<tr>\n<td><code>shop</code></td>\n<td><code>Shop!</code></td>\n<td>Referência à loja à qual o kit pertence.</td>\n</tr>\n<tr>\n<td><code>sortIndex</code></td>\n<td><code>Int</code></td>\n<td>Índice de ordenação manual do kit em listagens.</td>\n</tr>\n<tr>\n<td><code>currentProductHash</code> / <code>publishedProductHash</code></td>\n<td><code>String</code></td>\n<td>Hashes para comparar se o kit mudou desde a última publicação.</td>\n</tr>\n<tr>\n<td><code>publishedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data/hora da última publicação. <code>null</code> se nunca publicado.</td>\n</tr>\n<tr>\n<td><code>createdAt</code> / <code>updatedAt</code></td>\n<td><code>AWSDateTime!</code> / <code>AWSDateTime</code></td>\n<td>Datas de criação/atualização do kit.</td>\n</tr>\n<tr>\n<td><code>measurementsInformation</code></td>\n<td><code>String</code></td>\n<td>Informações de medidas (ex.: roupas, móveis).</td>\n</tr>\n<tr>\n<td><code>originCountry</code></td>\n<td><code>String</code></td>\n<td>País de origem do kit.</td>\n</tr>\n<tr>\n<td><code>pageTitle</code></td>\n<td><code>String</code></td>\n<td>Subtítulo do kit.</td>\n</tr>\n<tr>\n<td><code>metaDescription</code></td>\n<td><code>String</code></td>\n<td>Descrição usada na meta tag <code>description</code> da página do kit.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-kitcomponents-productkitcomponent\">Campos de <code>kitComponents[]</code> (<code>ProductKitComponent</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productTitle</code></td>\n<td><code>String</code></td>\n<td>Título do produto original que originou o componente.</td>\n</tr>\n<tr>\n<td><code>variantTitle</code></td>\n<td><code>String</code></td>\n<td>Título da variante que compõe o kit.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td><code>Money</code></td>\n<td>Preço da variante componente.</td>\n</tr>\n<tr>\n<td><code>label</code></td>\n<td><code>String</code></td>\n<td>Rótulo que pode sobrescrever o título da variante na listagem do kit.</td>\n</tr>\n<tr>\n<td><code>kitLabelImage</code></td>\n<td><code>String</code></td>\n<td>URL de imagem usada como rótulo visual do componente.</td>\n</tr>\n<tr>\n<td><code>productId</code></td>\n<td><code>ID</code></td>\n<td>ID do produto original do componente.</td>\n</tr>\n<tr>\n<td><code>productVariantId</code></td>\n<td><code>ID</code></td>\n<td>ID da variante do componente.</td>\n</tr>\n<tr>\n<td><code>productErpCode</code> / <code>variantErpCode</code></td>\n<td><code>String</code></td>\n<td>Códigos ERP do produto/variante do componente, quando existirem.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>productId</code> inexistente (ou de outra loja/tipo) não gera erro.</strong> A resposta é <code>productKit: null</code>. Isso inclui passar o ID de um produto que não seja do tipo KIT — use <code>product</code> para esses.</li>\n<li><strong><code>kitComponents</code> pode vir incompleto silenciosamente.</strong> Se um produto ou variante que compõe o kit foi excluído (ou não é mais encontrado por outro motivo), aquele componente simplesmente não aparece no array — a operação não lança erro nesse caso. Não assuma que o tamanho de <code>kitComponents</code> reflete exatamente a configuração original do kit; se precisar detectar essa divergência, compare com <code>requiredPicksPerGroup</code> e a quantidade de componentes esperada pelo seu catálogo interno.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2149723a-51ce-4f9d-abf5-929b9f89c4ee","name":"200 - productKit","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKit($productId: ID!) {\n  productKit(productId: $productId) {\n    _id\n    requiredPicksPerGroup\n    titleLabel\n    highlightLabel\n    unitPriceLabel\n    kitGroupDescription\n    price {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    compareAtPrice {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    measurementsInformation\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    kitComponents {\n      productTitle\n      variantTitle\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      label\n      kitLabelImage\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n    vendor\n    sortIndex\n    minOrderQuantity\n    maxOrderQuantity\n    unitPriceFactor\n    relatedInfo {\n      title\n      highlightLabel\n      showUnitPrice\n    }\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"## productKit\n\n**Propósito:** Retorna um único produto do tipo KIT (combo com componentes obrigatórios) a partir do seu ID, com título, preço, mídia, tags e a lista de componentes.\n**Quando usar:** Para exibir a página de um kit específico ou consultar seus componentes antes de montar um carrinho. Para um item que não é kit, use `product`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo  | Obrigatório | Default | Descrição                        |\n| ----------- | ----- | ----------- | ------- | -------------------------------- |\n| `productId` | `ID!` | Sim         | —       | ID do produto (kit) a consultar. |\n\n### Retorno\n\n`ProductKit`.\n\n| Propriedade                                   | Tipo                           | Descrição                                                                                                                                                                       |\n| --------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                         | `ID!`                          | ID do kit.                                                                                                                                                                      |\n| `title`                                       | `String`                       | Título do kit.                                                                                                                                                                  |\n| `titleLabel`                                  | `String`                       | Texto customizado de um rótulo exibido junto ao título.                                                                                                                         |\n| `description`                                 | `String`                       | Descrição completa do kit (pode conter quebras de linha).                                                                                                                       |\n| `slug`                                        | `String`                       | Identificador legível e único para URL.                                                                                                                                         |\n| `type`                                        | `ProductTypesEnum`             | Sempre `KIT` para esta operação.                                                                                                                                                |\n| `price`                                       | `Money`                        | Preço do kit.                                                                                                                                                                   |\n| `compareAtPrice`                              | `Money`                        | Preço \"de\" (comparação), quando aplicável.                                                                                                                                      |\n| `erpCode`                                     | `String`                       | Código do kit no ERP, se houver.                                                                                                                                                |\n| `requiredPicksPerGroup`                       | `Int!`                         | Quantidade de escolhas obrigatórias por grupo de componentes para o kit poder ser adicionado a um carrinho.                                                                     |\n| `kitComponents`                               | `[ProductKitComponent]!`       | Componentes (produto + variante) que formam o kit. Ver tabela abaixo. Pode conter menos itens que a configuração original (ver Notas).                                          |\n| `kitGroupDescription`                         | `String`                       | Texto descritivo da seção de componentes do kit.                                                                                                                                |\n| `highlightLabel`                              | `String`                       | Rótulo de destaque do kit em relação a outros.                                                                                                                                  |\n| `unitPriceLabel`                              | `String`                       | Rótulo do que representa a unidade do kit (ex.: caixa, sabor, lata).                                                                                                            |\n| `unitPriceFactor`                             | `Int`                          | Fator de divisão para calcular o preço por unidade do kit.                                                                                                                      |\n| `relatedInfo`                                 | `ProductKitRelatedInfo`        | Informações resumidas do kit (`title`, `highlightLabel`, `showUnitPrice`) usadas quando o kit é referenciado em outro contexto.                                                 |\n| `isVisible`                                   | `Boolean!`                     | Se o kit deve ser exibido para compradores.                                                                                                                                     |\n| `isDeleted`                                   | `Boolean!`                     | Se o kit foi excluído (kits excluídos normalmente não são retornados pelas queries).                                                                                            |\n| `isProductPublishable`                        | `IsProductPublishable`         | `isProductPublishable` (Boolean) + `errorsList` (`[{ message, path }]`) detalhando o que falta para o kit poder ser publicado.                                                  |\n| `imageUrls` / `videoUrls`                     | `[String]`                     | URLs de imagens/vídeos do kit.                                                                                                                                                  |\n| `media(shouldIncludeVariantMedia)`            | `[ImageInfo]`                  | Mídia completa do kit (`URLs.large/medium/original/small/thumbnail`, `priority`). Por padrão (`shouldIncludeVariantMedia: true`) inclui também mídia das variantes componentes. |\n| `metafields`                                  | `[Metafield]!`                 | Atributos customizados (`key`, `value`, `namespace`, `scope`, `valueType`, `description`).                                                                                      |\n| `socialMetadata`                              | `[SocialMetadata]`             | Texto de compartilhamento sugerido por rede social (`message`, `service`).                                                                                                      |\n| `tagIds` / `tags`                             | `[ID]` / `TagConnection`       | IDs de tags associadas e a connection paginada correspondente.                                                                                                                  |\n| `vendor`                                      | `String`                       | Fabricante/fornecedor do kit, para exibição.                                                                                                                                    |\n| `minOrderQuantity` / `maxOrderQuantity`       | `Int`                          | Quantidade mínima/máxima do kit permitida por pedido.                                                                                                                           |\n| `supportedFulfillmentTypes`                   | `[FulfillmentType]!`           | Tipos de atendimento suportados (`SHIPPING`, `NONE`).                                                                                                                           |\n| `shouldAppearInSitemap`                       | `Boolean`                      | Se o kit deve aparecer no sitemap gerado.                                                                                                                                       |\n| `shop`                                        | `Shop!`                        | Referência à loja à qual o kit pertence.                                                                                                                                        |\n| `sortIndex`                                   | `Int`                          | Índice de ordenação manual do kit em listagens.                                                                                                                                 |\n| `currentProductHash` / `publishedProductHash` | `String`                       | Hashes para comparar se o kit mudou desde a última publicação.                                                                                                                  |\n| `publishedAt`                                 | `AWSDateTime`                  | Data/hora da última publicação. `null` se nunca publicado.                                                                                                                      |\n| `createdAt` / `updatedAt`                     | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização do kit.                                                                                                                                            |\n| `measurementsInformation`                     | `String`                       | Informações de medidas (ex.: roupas, móveis).                                                                                                                                   |\n| `originCountry`                               | `String`                       | País de origem do kit.                                                                                                                                                          |\n| `pageTitle`                                   | `String`                       | Subtítulo do kit.                                                                                                                                                               |\n| `metaDescription`                             | `String`                       | Descrição usada na meta tag `description` da página do kit.                                                                                                                     |\n\n#### Campos de `kitComponents[]` (`ProductKitComponent`)\n\n| Propriedade                         | Tipo     | Descrição                                                             |\n| ----------------------------------- | -------- | --------------------------------------------------------------------- |\n| `productTitle`                      | `String` | Título do produto original que originou o componente.                 |\n| `variantTitle`                      | `String` | Título da variante que compõe o kit.                                  |\n| `price`                             | `Money`  | Preço da variante componente.                                         |\n| `label`                             | `String` | Rótulo que pode sobrescrever o título da variante na listagem do kit. |\n| `kitLabelImage`                     | `String` | URL de imagem usada como rótulo visual do componente.                 |\n| `productId`                         | `ID`     | ID do produto original do componente.                                 |\n| `productVariantId`                  | `ID`     | ID da variante do componente.                                         |\n| `productErpCode` / `variantErpCode` | `String` | Códigos ERP do produto/variante do componente, quando existirem.      |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.\n\n### Notas\n\n- **`productId` inexistente (ou de outra loja/tipo) não gera erro.** A resposta é `productKit: null`. Isso inclui passar o ID de um produto que não seja do tipo KIT — use `product` para esses.\n- **`kitComponents` pode vir incompleto silenciosamente.** Se um produto ou variante que compõe o kit foi excluído (ou não é mais encontrado por outro motivo), aquele componente simplesmente não aparece no array — a operação não lança erro nesse caso. Não assuma que o tamanho de `kitComponents` reflete exatamente a configuração original do kit; se precisar detectar essa divergência, compare com `requiredPicksPerGroup` e a quantidade de componentes esperada pelo seu catálogo interno."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"productKit\": {\n      \"_id\": \"Example_ID\",\n      \"requiredPicksPerGroup\": 10,\n      \"titleLabel\": \"Example_String\",\n      \"highlightLabel\": \"Example_String\",\n      \"unitPriceLabel\": 99.99,\n      \"kitGroupDescription\": \"Example_String\",\n      \"price\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"compareAtPrice\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      },\n      \"erpCode\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"currentProductHash\": \"Example_String\",\n      \"description\": \"Example_String\",\n      \"isDeleted\": true,\n      \"isProductPublishable\": {\n        \"isProductPublishable\": true\n      },\n      \"isVisible\": true,\n      \"imageUrls\": [\n        \"https://exemplo.com\"\n      ],\n      \"videoUrls\": [\n        \"https://exemplo.com\"\n      ],\n      \"media\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"priority\": 10,\n          \"productId\": \"Example_ID\",\n          \"variantId\": \"Example_ID\"\n        }\n      ],\n      \"metaDescription\": \"Example_String\",\n      \"metafields\": [\n        {\n          \"description\": \"Example_String\",\n          \"key\": \"Example_String\",\n          \"namespace\": \"Example_String\",\n          \"scope\": \"Example_String\",\n          \"value\": 99.99,\n          \"valueType\": \"Example_String\"\n        }\n      ],\n      \"measurementsInformation\": \"Example_String\",\n      \"originCountry\": \"Example_String\",\n      \"pageTitle\": \"Example_String\",\n      \"type\": \"SIMPLE\",\n      \"publishedAt\": \"2025-01-15T10:00:00Z\",\n      \"publishedProductHash\": \"Example_String\",\n      \"shop\": {\n        \"_id\": \"Example_ID\",\n        \"description\": \"Example_String\",\n        \"isCompany\": true,\n        \"keywords\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"storeTemplateUrl\": \"https://exemplo.com\",\n        \"acceptsBoleto\": true,\n        \"acceptsCreditCard\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"domains\": [\n          \"Example_String\"\n        ],\n        \"trialRemainingDays\": 10,\n        \"sitemap\": \"Example_String\"\n      },\n      \"shouldAppearInSitemap\": true,\n      \"slug\": \"Example_String\",\n      \"socialMetadata\": [\n        {\n          \"message\": \"Example_String\",\n          \"service\": \"facebook\"\n        }\n      ],\n      \"supportedFulfillmentTypes\": [\n        \"SHIPPING\"\n      ],\n      \"tagIds\": [\n        \"Example_ID\"\n      ],\n      \"tags\": {\n        \"nodes\": [\n          {\n            \"_id\": \"Example_ID\",\n            \"erpCode\": \"Example_String\",\n            \"createdAt\": \"2025-01-15T10:00:00Z\",\n            \"displayTitle\": \"Example_String\",\n            \"description\": \"Example_String\",\n            \"featuredProductIds\": [\n              \"Example_ID\"\n            ],\n            \"isDeleted\": true,\n            \"isTopLevel\": true,\n            \"isVisible\": true,\n            \"name\": \"Example_String\",\n            \"position\": 10,\n            \"publishedUrl\": \"https://exemplo.com\",\n            \"slug\": \"Example_String\",\n            \"subTagIds\": [\n              \"Example_ID\"\n            ],\n            \"updatedAt\": \"2025-01-15T10:00:00Z\"\n          }\n        ],\n        \"pageInfo\": {\n          \"hasNextPage\": false,\n          \"endCursor\": null\n        },\n        \"totalCount\": 10\n      },\n      \"title\": \"Example_String\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"kitComponents\": [\n        {\n          \"productTitle\": \"Example_String\",\n          \"variantTitle\": \"Example_String\",\n          \"label\": \"Example_String\",\n          \"kitLabelImage\": \"Example_String\",\n          \"productId\": \"Example_ID\",\n          \"productVariantId\": \"Example_ID\",\n          \"productErpCode\": \"Example_String\",\n          \"variantErpCode\": \"Example_String\"\n        }\n      ],\n      \"vendor\": \"Example_String\",\n      \"sortIndex\": 10,\n      \"minOrderQuantity\": 10,\n      \"maxOrderQuantity\": 10,\n      \"unitPriceFactor\": 99.99,\n      \"relatedInfo\": {\n        \"title\": \"Example_String\",\n        \"highlightLabel\": \"Example_String\",\n        \"showUnitPrice\": 99.99\n      }\n    }\n  }\n}"},{"id":"6f97df95-ad03-4bc8-b7fa-4de57a5c11de","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKit($productId: ID!) {\n  productKit(productId: $productId) {\n    _id\n    requiredPicksPerGroup\n    titleLabel\n    highlightLabel\n    unitPriceLabel\n    kitGroupDescription\n    price {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    compareAtPrice {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    measurementsInformation\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    kitComponents {\n      productTitle\n      variantTitle\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      label\n      kitLabelImage\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n    vendor\n    sortIndex\n    minOrderQuantity\n    maxOrderQuantity\n    unitPriceFactor\n    relatedInfo {\n      title\n      highlightLabel\n      showUnitPrice\n    }\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"## productKit\n\n**Propósito:** Retorna um único produto do tipo KIT (combo com componentes obrigatórios) a partir do seu ID, com título, preço, mídia, tags e a lista de componentes.\n**Quando usar:** Para exibir a página de um kit específico ou consultar seus componentes antes de montar um carrinho. Para um item que não é kit, use `product`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo  | Obrigatório | Default | Descrição                        |\n| ----------- | ----- | ----------- | ------- | -------------------------------- |\n| `productId` | `ID!` | Sim         | —       | ID do produto (kit) a consultar. |\n\n### Retorno\n\n`ProductKit`.\n\n| Propriedade                                   | Tipo                           | Descrição                                                                                                                                                                       |\n| --------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                         | `ID!`                          | ID do kit.                                                                                                                                                                      |\n| `title`                                       | `String`                       | Título do kit.                                                                                                                                                                  |\n| `titleLabel`                                  | `String`                       | Texto customizado de um rótulo exibido junto ao título.                                                                                                                         |\n| `description`                                 | `String`                       | Descrição completa do kit (pode conter quebras de linha).                                                                                                                       |\n| `slug`                                        | `String`                       | Identificador legível e único para URL.                                                                                                                                         |\n| `type`                                        | `ProductTypesEnum`             | Sempre `KIT` para esta operação.                                                                                                                                                |\n| `price`                                       | `Money`                        | Preço do kit.                                                                                                                                                                   |\n| `compareAtPrice`                              | `Money`                        | Preço \"de\" (comparação), quando aplicável.                                                                                                                                      |\n| `erpCode`                                     | `String`                       | Código do kit no ERP, se houver.                                                                                                                                                |\n| `requiredPicksPerGroup`                       | `Int!`                         | Quantidade de escolhas obrigatórias por grupo de componentes para o kit poder ser adicionado a um carrinho.                                                                     |\n| `kitComponents`                               | `[ProductKitComponent]!`       | Componentes (produto + variante) que formam o kit. Ver tabela abaixo. Pode conter menos itens que a configuração original (ver Notas).                                          |\n| `kitGroupDescription`                         | `String`                       | Texto descritivo da seção de componentes do kit.                                                                                                                                |\n| `highlightLabel`                              | `String`                       | Rótulo de destaque do kit em relação a outros.                                                                                                                                  |\n| `unitPriceLabel`                              | `String`                       | Rótulo do que representa a unidade do kit (ex.: caixa, sabor, lata).                                                                                                            |\n| `unitPriceFactor`                             | `Int`                          | Fator de divisão para calcular o preço por unidade do kit.                                                                                                                      |\n| `relatedInfo`                                 | `ProductKitRelatedInfo`        | Informações resumidas do kit (`title`, `highlightLabel`, `showUnitPrice`) usadas quando o kit é referenciado em outro contexto.                                                 |\n| `isVisible`                                   | `Boolean!`                     | Se o kit deve ser exibido para compradores.                                                                                                                                     |\n| `isDeleted`                                   | `Boolean!`                     | Se o kit foi excluído (kits excluídos normalmente não são retornados pelas queries).                                                                                            |\n| `isProductPublishable`                        | `IsProductPublishable`         | `isProductPublishable` (Boolean) + `errorsList` (`[{ message, path }]`) detalhando o que falta para o kit poder ser publicado.                                                  |\n| `imageUrls` / `videoUrls`                     | `[String]`                     | URLs de imagens/vídeos do kit.                                                                                                                                                  |\n| `media(shouldIncludeVariantMedia)`            | `[ImageInfo]`                  | Mídia completa do kit (`URLs.large/medium/original/small/thumbnail`, `priority`). Por padrão (`shouldIncludeVariantMedia: true`) inclui também mídia das variantes componentes. |\n| `metafields`                                  | `[Metafield]!`                 | Atributos customizados (`key`, `value`, `namespace`, `scope`, `valueType`, `description`).                                                                                      |\n| `socialMetadata`                              | `[SocialMetadata]`             | Texto de compartilhamento sugerido por rede social (`message`, `service`).                                                                                                      |\n| `tagIds` / `tags`                             | `[ID]` / `TagConnection`       | IDs de tags associadas e a connection paginada correspondente.                                                                                                                  |\n| `vendor`                                      | `String`                       | Fabricante/fornecedor do kit, para exibição.                                                                                                                                    |\n| `minOrderQuantity` / `maxOrderQuantity`       | `Int`                          | Quantidade mínima/máxima do kit permitida por pedido.                                                                                                                           |\n| `supportedFulfillmentTypes`                   | `[FulfillmentType]!`           | Tipos de atendimento suportados (`SHIPPING`, `NONE`).                                                                                                                           |\n| `shouldAppearInSitemap`                       | `Boolean`                      | Se o kit deve aparecer no sitemap gerado.                                                                                                                                       |\n| `shop`                                        | `Shop!`                        | Referência à loja à qual o kit pertence.                                                                                                                                        |\n| `sortIndex`                                   | `Int`                          | Índice de ordenação manual do kit em listagens.                                                                                                                                 |\n| `currentProductHash` / `publishedProductHash` | `String`                       | Hashes para comparar se o kit mudou desde a última publicação.                                                                                                                  |\n| `publishedAt`                                 | `AWSDateTime`                  | Data/hora da última publicação. `null` se nunca publicado.                                                                                                                      |\n| `createdAt` / `updatedAt`                     | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização do kit.                                                                                                                                            |\n| `measurementsInformation`                     | `String`                       | Informações de medidas (ex.: roupas, móveis).                                                                                                                                   |\n| `originCountry`                               | `String`                       | País de origem do kit.                                                                                                                                                          |\n| `pageTitle`                                   | `String`                       | Subtítulo do kit.                                                                                                                                                               |\n| `metaDescription`                             | `String`                       | Descrição usada na meta tag `description` da página do kit.                                                                                                                     |\n\n#### Campos de `kitComponents[]` (`ProductKitComponent`)\n\n| Propriedade                         | Tipo     | Descrição                                                             |\n| ----------------------------------- | -------- | --------------------------------------------------------------------- |\n| `productTitle`                      | `String` | Título do produto original que originou o componente.                 |\n| `variantTitle`                      | `String` | Título da variante que compõe o kit.                                  |\n| `price`                             | `Money`  | Preço da variante componente.                                         |\n| `label`                             | `String` | Rótulo que pode sobrescrever o título da variante na listagem do kit. |\n| `kitLabelImage`                     | `String` | URL de imagem usada como rótulo visual do componente.                 |\n| `productId`                         | `ID`     | ID do produto original do componente.                                 |\n| `productVariantId`                  | `ID`     | ID da variante do componente.                                         |\n| `productErpCode` / `variantErpCode` | `String` | Códigos ERP do produto/variante do componente, quando existirem.      |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.\n\n### Notas\n\n- **`productId` inexistente (ou de outra loja/tipo) não gera erro.** A resposta é `productKit: null`. Isso inclui passar o ID de um produto que não seja do tipo KIT — use `product` para esses.\n- **`kitComponents` pode vir incompleto silenciosamente.** Se um produto ou variante que compõe o kit foi excluído (ou não é mais encontrado por outro motivo), aquele componente simplesmente não aparece no array — a operação não lança erro nesse caso. Não assuma que o tamanho de `kitComponents` reflete exatamente a configuração original do kit; se precisar detectar essa divergência, compare com `requiredPicksPerGroup` e a quantidade de componentes esperada pelo seu catálogo interno."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"5935583f-2f32-4312-a4d6-8e190fe12646","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKit($productId: ID!) {\n  productKit(productId: $productId) {\n    _id\n    requiredPicksPerGroup\n    titleLabel\n    highlightLabel\n    unitPriceLabel\n    kitGroupDescription\n    price {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    compareAtPrice {\n      amount\n      currency {\n        _id\n        code\n        decimal\n        format\n        rate\n        scale\n        symbol\n        thousand\n      }\n      displayAmount\n    }\n    erpCode\n    createdAt\n    currentProductHash\n    description\n    isDeleted\n    isProductPublishable {\n      isProductPublishable\n      errorsList {\n        message\n        path\n      }\n    }\n    isVisible\n    imageUrls\n    videoUrls\n    media {\n      URLs {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      _id\n      priority\n      productId\n      variantId\n    }\n    metaDescription\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    measurementsInformation\n    originCountry\n    pageTitle\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n    }\n    shouldAppearInSitemap\n    slug\n    socialMetadata {\n      message\n      service\n    }\n    supportedFulfillmentTypes\n    tagIds\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n    title\n    updatedAt\n    kitComponents {\n      productTitle\n      variantTitle\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      label\n      kitLabelImage\n      productId\n      productVariantId\n      productErpCode\n      variantErpCode\n    }\n    vendor\n    sortIndex\n    minOrderQuantity\n    maxOrderQuantity\n    unitPriceFactor\n    relatedInfo {\n      title\n      highlightLabel\n      showUnitPrice\n    }\n  }\n}","variables":"{\n  \"productId\": \"{{productId}}\"\n}"}},"url":"{{base_url}}","description":"## productKit\n\n**Propósito:** Retorna um único produto do tipo KIT (combo com componentes obrigatórios) a partir do seu ID, com título, preço, mídia, tags e a lista de componentes.\n**Quando usar:** Para exibir a página de um kit específico ou consultar seus componentes antes de montar um carrinho. Para um item que não é kit, use `product`.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\n| Nome        | Tipo  | Obrigatório | Default | Descrição                        |\n| ----------- | ----- | ----------- | ------- | -------------------------------- |\n| `productId` | `ID!` | Sim         | —       | ID do produto (kit) a consultar. |\n\n### Retorno\n\n`ProductKit`.\n\n| Propriedade                                   | Tipo                           | Descrição                                                                                                                                                                       |\n| --------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                         | `ID!`                          | ID do kit.                                                                                                                                                                      |\n| `title`                                       | `String`                       | Título do kit.                                                                                                                                                                  |\n| `titleLabel`                                  | `String`                       | Texto customizado de um rótulo exibido junto ao título.                                                                                                                         |\n| `description`                                 | `String`                       | Descrição completa do kit (pode conter quebras de linha).                                                                                                                       |\n| `slug`                                        | `String`                       | Identificador legível e único para URL.                                                                                                                                         |\n| `type`                                        | `ProductTypesEnum`             | Sempre `KIT` para esta operação.                                                                                                                                                |\n| `price`                                       | `Money`                        | Preço do kit.                                                                                                                                                                   |\n| `compareAtPrice`                              | `Money`                        | Preço \"de\" (comparação), quando aplicável.                                                                                                                                      |\n| `erpCode`                                     | `String`                       | Código do kit no ERP, se houver.                                                                                                                                                |\n| `requiredPicksPerGroup`                       | `Int!`                         | Quantidade de escolhas obrigatórias por grupo de componentes para o kit poder ser adicionado a um carrinho.                                                                     |\n| `kitComponents`                               | `[ProductKitComponent]!`       | Componentes (produto + variante) que formam o kit. Ver tabela abaixo. Pode conter menos itens que a configuração original (ver Notas).                                          |\n| `kitGroupDescription`                         | `String`                       | Texto descritivo da seção de componentes do kit.                                                                                                                                |\n| `highlightLabel`                              | `String`                       | Rótulo de destaque do kit em relação a outros.                                                                                                                                  |\n| `unitPriceLabel`                              | `String`                       | Rótulo do que representa a unidade do kit (ex.: caixa, sabor, lata).                                                                                                            |\n| `unitPriceFactor`                             | `Int`                          | Fator de divisão para calcular o preço por unidade do kit.                                                                                                                      |\n| `relatedInfo`                                 | `ProductKitRelatedInfo`        | Informações resumidas do kit (`title`, `highlightLabel`, `showUnitPrice`) usadas quando o kit é referenciado em outro contexto.                                                 |\n| `isVisible`                                   | `Boolean!`                     | Se o kit deve ser exibido para compradores.                                                                                                                                     |\n| `isDeleted`                                   | `Boolean!`                     | Se o kit foi excluído (kits excluídos normalmente não são retornados pelas queries).                                                                                            |\n| `isProductPublishable`                        | `IsProductPublishable`         | `isProductPublishable` (Boolean) + `errorsList` (`[{ message, path }]`) detalhando o que falta para o kit poder ser publicado.                                                  |\n| `imageUrls` / `videoUrls`                     | `[String]`                     | URLs de imagens/vídeos do kit.                                                                                                                                                  |\n| `media(shouldIncludeVariantMedia)`            | `[ImageInfo]`                  | Mídia completa do kit (`URLs.large/medium/original/small/thumbnail`, `priority`). Por padrão (`shouldIncludeVariantMedia: true`) inclui também mídia das variantes componentes. |\n| `metafields`                                  | `[Metafield]!`                 | Atributos customizados (`key`, `value`, `namespace`, `scope`, `valueType`, `description`).                                                                                      |\n| `socialMetadata`                              | `[SocialMetadata]`             | Texto de compartilhamento sugerido por rede social (`message`, `service`).                                                                                                      |\n| `tagIds` / `tags`                             | `[ID]` / `TagConnection`       | IDs de tags associadas e a connection paginada correspondente.                                                                                                                  |\n| `vendor`                                      | `String`                       | Fabricante/fornecedor do kit, para exibição.                                                                                                                                    |\n| `minOrderQuantity` / `maxOrderQuantity`       | `Int`                          | Quantidade mínima/máxima do kit permitida por pedido.                                                                                                                           |\n| `supportedFulfillmentTypes`                   | `[FulfillmentType]!`           | Tipos de atendimento suportados (`SHIPPING`, `NONE`).                                                                                                                           |\n| `shouldAppearInSitemap`                       | `Boolean`                      | Se o kit deve aparecer no sitemap gerado.                                                                                                                                       |\n| `shop`                                        | `Shop!`                        | Referência à loja à qual o kit pertence.                                                                                                                                        |\n| `sortIndex`                                   | `Int`                          | Índice de ordenação manual do kit em listagens.                                                                                                                                 |\n| `currentProductHash` / `publishedProductHash` | `String`                       | Hashes para comparar se o kit mudou desde a última publicação.                                                                                                                  |\n| `publishedAt`                                 | `AWSDateTime`                  | Data/hora da última publicação. `null` se nunca publicado.                                                                                                                      |\n| `createdAt` / `updatedAt`                     | `AWSDateTime!` / `AWSDateTime` | Datas de criação/atualização do kit.                                                                                                                                            |\n| `measurementsInformation`                     | `String`                       | Informações de medidas (ex.: roupas, móveis).                                                                                                                                   |\n| `originCountry`                               | `String`                       | País de origem do kit.                                                                                                                                                          |\n| `pageTitle`                                   | `String`                       | Subtítulo do kit.                                                                                                                                                               |\n| `metaDescription`                             | `String`                       | Descrição usada na meta tag `description` da página do kit.                                                                                                                     |\n\n#### Campos de `kitComponents[]` (`ProductKitComponent`)\n\n| Propriedade                         | Tipo     | Descrição                                                             |\n| ----------------------------------- | -------- | --------------------------------------------------------------------- |\n| `productTitle`                      | `String` | Título do produto original que originou o componente.                 |\n| `variantTitle`                      | `String` | Título da variante que compõe o kit.                                  |\n| `price`                             | `Money`  | Preço da variante componente.                                         |\n| `label`                             | `String` | Rótulo que pode sobrescrever o título da variante na listagem do kit. |\n| `kitLabelImage`                     | `String` | URL de imagem usada como rótulo visual do componente.                 |\n| `productId`                         | `ID`     | ID do produto original do componente.                                 |\n| `productVariantId`                  | `ID`     | ID da variante do componente.                                         |\n| `productErpCode` / `variantErpCode` | `String` | Códigos ERP do produto/variante do componente, quando existirem.      |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Esta operação não tem outros códigos de erro de negócio conhecidos.\n\n### Notas\n\n- **`productId` inexistente (ou de outra loja/tipo) não gera erro.** A resposta é `productKit: null`. Isso inclui passar o ID de um produto que não seja do tipo KIT — use `product` para esses.\n- **`kitComponents` pode vir incompleto silenciosamente.** Se um produto ou variante que compõe o kit foi excluído (ou não é mais encontrado por outro motivo), aquele componente simplesmente não aparece no array — a operação não lança erro nesse caso. Não assuma que o tamanho de `kitComponents` reflete exatamente a configuração original do kit; se precisar detectar essa divergência, compare com `requiredPicksPerGroup` e a quantidade de componentes esperada pelo seu catálogo interno."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"21b74673-fdcb-57de-9b4f-89108a952adb"},{"name":"[Query] productKits","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns productKits data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"productKits\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"productKits returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.productKits;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"3021b286-d351-5e92-a7ab-e8767198b4f5","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKits($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  productKits(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        requiredPicksPerGroup\n        titleLabel\n        highlightLabel\n        unitPriceLabel\n        kitGroupDescription\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        measurementsInformation\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        kitComponents {\n          productTitle\n          variantTitle\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          label\n          kitLabelImage\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        vendor\n        sortIndex\n        minOrderQuantity\n        maxOrderQuantity\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n      }\n    }\n    nodes {\n      _id\n      requiredPicksPerGroup\n      titleLabel\n      highlightLabel\n      unitPriceLabel\n      kitGroupDescription\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      measurementsInformation\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      kitComponents {\n        productTitle\n        variantTitle\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        label\n        kitLabelImage\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      vendor\n      sortIndex\n      minOrderQuantity\n      maxOrderQuantity\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"productkits\">productKits</h2>\n<p><strong>Propósito:</strong> Lista, com paginação, os produtos do tipo KIT da sua loja, com os mesmos filtros de arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual disponíveis em <code>products</code>.\n<strong>Quando usar:</strong> Para montar ou sincronizar uma listagem de kits/combos no seu canal, ou buscar kits por texto/tag/metafield antes de decidir quais exibir. Para um único kit já conhecido, prefira <code>productKit</code>, que evita o overhead de paginação.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Todos os argumentos são opcionais e combináveis. Ver a seção <strong>Paginação Relay</strong> no folder deste domínio para os argumentos de paginação.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>isArchived</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>null</code> (sem filtro)</td>\n<td>Filtra por kits arquivados (<code>true</code>) ou não arquivados (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>isVisible</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>null</code> (sem filtro)</td>\n<td>Filtra por kits visíveis (<code>true</code>) ou ocultos (<code>false</code>) na loja.</td>\n</tr>\n<tr>\n<td><code>metafieldKey</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtra por kits que tenham um metafield com esta chave. Combine com <code>metafieldValue</code>.</td>\n</tr>\n<tr>\n<td><code>metafieldValue</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtra por kits que tenham um metafield com este valor. Combine com <code>metafieldKey</code>.</td>\n</tr>\n<tr>\n<td><code>priceMin</code></td>\n<td><code>Float</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Preço mínimo do kit.</td>\n</tr>\n<tr>\n<td><code>priceMax</code></td>\n<td><code>Float</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Preço máximo do kit.</td>\n</tr>\n<tr>\n<td><code>productIds</code></td>\n<td><code>[ID]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Lista de IDs de kit para restringir o resultado a esse conjunto específico.</td>\n</tr>\n<tr>\n<td><code>query</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Busca textual (regex) livre sobre o kit.</td>\n</tr>\n<tr>\n<td><code>tagIds</code></td>\n<td><code>[ID]</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Lista de IDs de tag para filtrar kits associados a qualquer uma delas.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor de paginação — retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor de paginação — retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Quantidade máxima de resultados a retornar. Use com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Quantidade máxima de resultados a retornar, a partir do fim. Use com <code>before</code> (não combine com <code>offset</code>).</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Pula os N primeiros resultados. Use com <code>first</code> (não combine com <code>last</code>).</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Direção da ordenação (<code>asc</code>/<code>desc</code>).</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>ProductSortByField</code></td>\n<td>Não</td>\n<td><code>createdAt</code></td>\n<td>Campo de ordenação (<code>_id</code>, <code>createdAt</code>, <code>title</code>, <code>updatedAt</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>ProductKitConnection</code> — uma connection Relay (ver <strong>Paginação Relay</strong> no folder deste domínio). Cada nó é um <code>ProductKit</code> completo (mesma forma retornada por <code>productKit</code> — título, preço, <code>kitComponents</code>, <code>requiredPicksPerGroup</code>, mídia, tags etc.).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor do item, usado com <code>after</code>/<code>before</code> para paginar.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code></td>\n<td><code>ProductKit</code></td>\n<td>O kit em si. Ver a operação <code>productKit</code> para o detalhamento completo dos campos.</td>\n</tr>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[ProductKit]</code></td>\n<td>Atalho com os kits diretamente, sem o wrapper de cursor de <code>edges</code>.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasNextPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há mais resultados após a página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasPreviousPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há resultados antes da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.startCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do primeiro item da página atual.</td>\n</tr>\n<tr>\n<td><code>pageInfo.endCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do último item da página atual.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de kits que atendem aos filtros, independente da paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Argumentos <code>last</code> e <code>offset</code> enviados juntos.</td>\n<td>Erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável. Envie apenas um dos dois esquemas de paginação por chamada.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Sem filtros, esta operação retorna todos os kits elegíveis da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de <code>totalCount</code> sozinho para decidir o volume de chamadas.</li>\n<li><code>query</code> faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal.</li>\n<li>Assim como em <code>productKit</code>, o campo <code>kitComponents</code> de cada nó pode vir com menos itens do que a configuração original do kit, sem gerar erro, quando um componente foi excluído (ver Notas de <code>productKit</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5252fa77-0344-4d53-9651-c6951fac4339","name":"200 - productKits","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKits($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  productKits(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        requiredPicksPerGroup\n        titleLabel\n        highlightLabel\n        unitPriceLabel\n        kitGroupDescription\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        measurementsInformation\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        kitComponents {\n          productTitle\n          variantTitle\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          label\n          kitLabelImage\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        vendor\n        sortIndex\n        minOrderQuantity\n        maxOrderQuantity\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n      }\n    }\n    nodes {\n      _id\n      requiredPicksPerGroup\n      titleLabel\n      highlightLabel\n      unitPriceLabel\n      kitGroupDescription\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      measurementsInformation\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      kitComponents {\n        productTitle\n        variantTitle\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        label\n        kitLabelImage\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      vendor\n      sortIndex\n      minOrderQuantity\n      maxOrderQuantity\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## productKits\n\n**Propósito:** Lista, com paginação, os produtos do tipo KIT da sua loja, com os mesmos filtros de arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual disponíveis em `products`.\n**Quando usar:** Para montar ou sincronizar uma listagem de kits/combos no seu canal, ou buscar kits por texto/tag/metafield antes de decidir quais exibir. Para um único kit já conhecido, prefira `productKit`, que evita o overhead de paginação.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome             | Tipo                 | Obrigatório | Default             | Descrição                                                                                                 |\n| ---------------- | -------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------- |\n| `isArchived`     | `Boolean`            | Não         | `null` (sem filtro) | Filtra por kits arquivados (`true`) ou não arquivados (`false`).                                          |\n| `isVisible`      | `Boolean`            | Não         | `null` (sem filtro) | Filtra por kits visíveis (`true`) ou ocultos (`false`) na loja.                                           |\n| `metafieldKey`   | `String`             | Não         | `null`              | Filtra por kits que tenham um metafield com esta chave. Combine com `metafieldValue`.                     |\n| `metafieldValue` | `String`             | Não         | `null`              | Filtra por kits que tenham um metafield com este valor. Combine com `metafieldKey`.                       |\n| `priceMin`       | `Float`              | Não         | `null`              | Preço mínimo do kit.                                                                                      |\n| `priceMax`       | `Float`              | Não         | `null`              | Preço máximo do kit.                                                                                      |\n| `productIds`     | `[ID]`               | Não         | `null`              | Lista de IDs de kit para restringir o resultado a esse conjunto específico.                               |\n| `query`          | `String`             | Não         | `null`              | Busca textual (regex) livre sobre o kit.                                                                  |\n| `tagIds`         | `[ID]`               | Não         | `null`              | Lista de IDs de tag para filtrar kits associados a qualquer uma delas.                                    |\n| `after`          | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                               |\n| `before`         | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                              |\n| `first`          | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                  |\n| `last`           | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`         | `Int`                | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                 |\n| `sortOrder`      | `SortOrder`          | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                      |\n| `sortBy`         | `ProductSortByField` | Não         | `createdAt`         | Campo de ordenação (`_id`, `createdAt`, `title`, `updatedAt`).                                            |\n\n### Retorno\n\n`ProductKitConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). Cada nó é um `ProductKit` completo (mesma forma retornada por `productKit` — título, preço, `kitComponents`, `requiredPicksPerGroup`, mídia, tags etc.).\n\n| Propriedade                | Tipo           | Descrição                                                                         |\n| -------------------------- | -------------- | --------------------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`      | Cursor do item, usado com `after`/`before` para paginar.                          |\n| `edges[].node`             | `ProductKit`   | O kit em si. Ver a operação `productKit` para o detalhamento completo dos campos. |\n| `nodes`                    | `[ProductKit]` | Atalho com os kits diretamente, sem o wrapper de cursor de `edges`.               |\n| `pageInfo.hasNextPage`     | `Boolean!`     | Se há mais resultados após a página atual.                                        |\n| `pageInfo.hasPreviousPage` | `Boolean!`     | Se há resultados antes da página atual.                                           |\n| `pageInfo.startCursor`     | `String`       | Cursor do primeiro item da página atual.                                          |\n| `pageInfo.endCursor`       | `String`       | Cursor do último item da página atual.                                            |\n| `totalCount`               | `Int!`         | Total de kits que atendem aos filtros, independente da paginação.                 |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                                                                           |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                    |\n| _(sem código)_    | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Sem filtros, esta operação retorna todos os kits elegíveis da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de `totalCount` sozinho para decidir o volume de chamadas.\n- `query` faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal.\n- Assim como em `productKit`, o campo `kitComponents` de cada nó pode vir com menos itens do que a configuração original do kit, sem gerar erro, quando um componente foi excluído (ver Notas de `productKit`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"productKits\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"requiredPicksPerGroup\": 10,\n          \"titleLabel\": \"Example_String\",\n          \"highlightLabel\": \"Example_String\",\n          \"unitPriceLabel\": 99.99,\n          \"kitGroupDescription\": \"Example_String\",\n          \"erpCode\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"currentProductHash\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"isDeleted\": true,\n          \"isVisible\": true,\n          \"imageUrls\": [\n            \"https://exemplo.com\"\n          ],\n          \"videoUrls\": [\n            \"https://exemplo.com\"\n          ],\n          \"metaDescription\": \"Example_String\",\n          \"measurementsInformation\": \"Example_String\",\n          \"originCountry\": \"Example_String\",\n          \"pageTitle\": \"Example_String\",\n          \"type\": \"SIMPLE\",\n          \"publishedAt\": \"2025-01-15T10:00:00Z\",\n          \"publishedProductHash\": \"Example_String\",\n          \"shouldAppearInSitemap\": true,\n          \"slug\": \"Example_String\",\n          \"supportedFulfillmentTypes\": [\n            \"SHIPPING\"\n          ],\n          \"tagIds\": [\n            \"Example_ID\"\n          ],\n          \"title\": \"Example_String\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"vendor\": \"Example_String\",\n          \"sortIndex\": 10,\n          \"minOrderQuantity\": 10,\n          \"maxOrderQuantity\": 10,\n          \"unitPriceFactor\": 99.99\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"4c5d4c6e-4638-4c9c-9c0a-d39858a91449","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKits($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  productKits(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        requiredPicksPerGroup\n        titleLabel\n        highlightLabel\n        unitPriceLabel\n        kitGroupDescription\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        measurementsInformation\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        kitComponents {\n          productTitle\n          variantTitle\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          label\n          kitLabelImage\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        vendor\n        sortIndex\n        minOrderQuantity\n        maxOrderQuantity\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n      }\n    }\n    nodes {\n      _id\n      requiredPicksPerGroup\n      titleLabel\n      highlightLabel\n      unitPriceLabel\n      kitGroupDescription\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      measurementsInformation\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      kitComponents {\n        productTitle\n        variantTitle\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        label\n        kitLabelImage\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      vendor\n      sortIndex\n      minOrderQuantity\n      maxOrderQuantity\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## productKits\n\n**Propósito:** Lista, com paginação, os produtos do tipo KIT da sua loja, com os mesmos filtros de arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual disponíveis em `products`.\n**Quando usar:** Para montar ou sincronizar uma listagem de kits/combos no seu canal, ou buscar kits por texto/tag/metafield antes de decidir quais exibir. Para um único kit já conhecido, prefira `productKit`, que evita o overhead de paginação.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome             | Tipo                 | Obrigatório | Default             | Descrição                                                                                                 |\n| ---------------- | -------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------- |\n| `isArchived`     | `Boolean`            | Não         | `null` (sem filtro) | Filtra por kits arquivados (`true`) ou não arquivados (`false`).                                          |\n| `isVisible`      | `Boolean`            | Não         | `null` (sem filtro) | Filtra por kits visíveis (`true`) ou ocultos (`false`) na loja.                                           |\n| `metafieldKey`   | `String`             | Não         | `null`              | Filtra por kits que tenham um metafield com esta chave. Combine com `metafieldValue`.                     |\n| `metafieldValue` | `String`             | Não         | `null`              | Filtra por kits que tenham um metafield com este valor. Combine com `metafieldKey`.                       |\n| `priceMin`       | `Float`              | Não         | `null`              | Preço mínimo do kit.                                                                                      |\n| `priceMax`       | `Float`              | Não         | `null`              | Preço máximo do kit.                                                                                      |\n| `productIds`     | `[ID]`               | Não         | `null`              | Lista de IDs de kit para restringir o resultado a esse conjunto específico.                               |\n| `query`          | `String`             | Não         | `null`              | Busca textual (regex) livre sobre o kit.                                                                  |\n| `tagIds`         | `[ID]`               | Não         | `null`              | Lista de IDs de tag para filtrar kits associados a qualquer uma delas.                                    |\n| `after`          | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                               |\n| `before`         | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                              |\n| `first`          | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                  |\n| `last`           | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`         | `Int`                | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                 |\n| `sortOrder`      | `SortOrder`          | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                      |\n| `sortBy`         | `ProductSortByField` | Não         | `createdAt`         | Campo de ordenação (`_id`, `createdAt`, `title`, `updatedAt`).                                            |\n\n### Retorno\n\n`ProductKitConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). Cada nó é um `ProductKit` completo (mesma forma retornada por `productKit` — título, preço, `kitComponents`, `requiredPicksPerGroup`, mídia, tags etc.).\n\n| Propriedade                | Tipo           | Descrição                                                                         |\n| -------------------------- | -------------- | --------------------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`      | Cursor do item, usado com `after`/`before` para paginar.                          |\n| `edges[].node`             | `ProductKit`   | O kit em si. Ver a operação `productKit` para o detalhamento completo dos campos. |\n| `nodes`                    | `[ProductKit]` | Atalho com os kits diretamente, sem o wrapper de cursor de `edges`.               |\n| `pageInfo.hasNextPage`     | `Boolean!`     | Se há mais resultados após a página atual.                                        |\n| `pageInfo.hasPreviousPage` | `Boolean!`     | Se há resultados antes da página atual.                                           |\n| `pageInfo.startCursor`     | `String`       | Cursor do primeiro item da página atual.                                          |\n| `pageInfo.endCursor`       | `String`       | Cursor do último item da página atual.                                            |\n| `totalCount`               | `Int!`         | Total de kits que atendem aos filtros, independente da paginação.                 |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                                                                           |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                    |\n| _(sem código)_    | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Sem filtros, esta operação retorna todos os kits elegíveis da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de `totalCount` sozinho para decidir o volume de chamadas.\n- `query` faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal.\n- Assim como em `productKit`, o campo `kitComponents` de cada nó pode vir com menos itens do que a configuração original do kit, sem gerar erro, quando um componente foi excluído (ver Notas de `productKit`)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"baab18cc-b857-4771-8886-dda2c98f10a0","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductKits($isArchived: Boolean, $isVisible: Boolean, $metafieldKey: String, $metafieldValue: String, $priceMax: Float, $priceMin: Float, $productIds: [ID], $query: String, $tagIds: [ID], $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: ProductSortByField) {\n  productKits(isArchived: $isArchived, isVisible: $isVisible, metafieldKey: $metafieldKey, metafieldValue: $metafieldValue, priceMax: $priceMax, priceMin: $priceMin, productIds: $productIds, query: $query, tagIds: $tagIds, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        requiredPicksPerGroup\n        titleLabel\n        highlightLabel\n        unitPriceLabel\n        kitGroupDescription\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        compareAtPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        erpCode\n        createdAt\n        currentProductHash\n        description\n        isDeleted\n        isProductPublishable {\n          isProductPublishable\n          errorsList {\n            message\n            path\n          }\n        }\n        isVisible\n        imageUrls\n        videoUrls\n        media {\n          URLs {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          _id\n          priority\n          productId\n          variantId\n        }\n        metaDescription\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        measurementsInformation\n        originCountry\n        pageTitle\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        shouldAppearInSitemap\n        slug\n        socialMetadata {\n          message\n          service\n        }\n        supportedFulfillmentTypes\n        tagIds\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n        title\n        updatedAt\n        kitComponents {\n          productTitle\n          variantTitle\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          label\n          kitLabelImage\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        vendor\n        sortIndex\n        minOrderQuantity\n        maxOrderQuantity\n        unitPriceFactor\n        relatedInfo {\n          title\n          highlightLabel\n          showUnitPrice\n        }\n      }\n    }\n    nodes {\n      _id\n      requiredPicksPerGroup\n      titleLabel\n      highlightLabel\n      unitPriceLabel\n      kitGroupDescription\n      price {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      compareAtPrice {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n      erpCode\n      createdAt\n      currentProductHash\n      description\n      isDeleted\n      isProductPublishable {\n        isProductPublishable\n        errorsList {\n          message\n          path\n        }\n      }\n      isVisible\n      imageUrls\n      videoUrls\n      media {\n        URLs {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        _id\n        priority\n        productId\n        variantId\n      }\n      metaDescription\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      measurementsInformation\n      originCountry\n      pageTitle\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n            _id\n            erpCode\n            createdAt\n            displayTitle\n            description\n            featuredProductIds\n            isDeleted\n            isTopLevel\n            isVisible\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            slug\n            subTagIds\n            updatedAt\n            subTags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n        }\n      }\n      }\n      shouldAppearInSitemap\n      slug\n      socialMetadata {\n        message\n        service\n      }\n      supportedFulfillmentTypes\n      tagIds\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          erpCode\n          createdAt\n          displayTitle\n          description\n          featuredProductIds\n          heroMedia {\n            desktop {\n              url\n              altText\n            }\n            mobile {\n              url\n              altText\n            }\n          }\n          isDeleted\n          isTopLevel\n          isVisible\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          name\n          position\n          publishedUrl\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          slug\n          subTagIds\n          updatedAt\n          subTags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n      }\n    }\n      title\n      updatedAt\n      kitComponents {\n        productTitle\n        variantTitle\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        label\n        kitLabelImage\n        productId\n        productVariantId\n        productErpCode\n        variantErpCode\n      }\n      vendor\n      sortIndex\n      minOrderQuantity\n      maxOrderQuantity\n      unitPriceFactor\n      relatedInfo {\n        title\n        highlightLabel\n        showUnitPrice\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"isArchived\": true,\n  \"isVisible\": true,\n  \"metafieldKey\": \"Example_String\",\n  \"metafieldValue\": \"Example_String\",\n  \"priceMax\": 99.99,\n  \"priceMin\": 99.99,\n  \"productIds\": [\n    \"Example_ID\"\n  ],\n  \"query\": \"Example_String\",\n  \"tagIds\": [\n    \"Example_ID\"\n  ],\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## productKits\n\n**Propósito:** Lista, com paginação, os produtos do tipo KIT da sua loja, com os mesmos filtros de arquivamento, visibilidade, faixa de preço, tags, metafield e busca textual disponíveis em `products`.\n**Quando usar:** Para montar ou sincronizar uma listagem de kits/combos no seu canal, ou buscar kits por texto/tag/metafield antes de decidir quais exibir. Para um único kit já conhecido, prefira `productKit`, que evita o overhead de paginação.\n**Autenticação:** `x-api-key` + `Authorization`. Os resultados são sempre escopados à loja da conta autenticada; não há argumento de loja nesta operação.\n\n### Argumentos\n\nTodos os argumentos são opcionais e combináveis. Ver a seção **Paginação Relay** no folder deste domínio para os argumentos de paginação.\n\n| Nome             | Tipo                 | Obrigatório | Default             | Descrição                                                                                                 |\n| ---------------- | -------------------- | ----------- | ------------------- | --------------------------------------------------------------------------------------------------------- |\n| `isArchived`     | `Boolean`            | Não         | `null` (sem filtro) | Filtra por kits arquivados (`true`) ou não arquivados (`false`).                                          |\n| `isVisible`      | `Boolean`            | Não         | `null` (sem filtro) | Filtra por kits visíveis (`true`) ou ocultos (`false`) na loja.                                           |\n| `metafieldKey`   | `String`             | Não         | `null`              | Filtra por kits que tenham um metafield com esta chave. Combine com `metafieldValue`.                     |\n| `metafieldValue` | `String`             | Não         | `null`              | Filtra por kits que tenham um metafield com este valor. Combine com `metafieldKey`.                       |\n| `priceMin`       | `Float`              | Não         | `null`              | Preço mínimo do kit.                                                                                      |\n| `priceMax`       | `Float`              | Não         | `null`              | Preço máximo do kit.                                                                                      |\n| `productIds`     | `[ID]`               | Não         | `null`              | Lista de IDs de kit para restringir o resultado a esse conjunto específico.                               |\n| `query`          | `String`             | Não         | `null`              | Busca textual (regex) livre sobre o kit.                                                                  |\n| `tagIds`         | `[ID]`               | Não         | `null`              | Lista de IDs de tag para filtrar kits associados a qualquer uma delas.                                    |\n| `after`          | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados após este cursor. Use com `first`.                               |\n| `before`         | `String`             | Não         | `null`              | Cursor de paginação — retorna resultados antes deste cursor. Use com `last`.                              |\n| `first`          | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar. Use com `after` ou `offset`.                                  |\n| `last`           | `Int`                | Não         | `null`              | Quantidade máxima de resultados a retornar, a partir do fim. Use com `before` (não combine com `offset`). |\n| `offset`         | `Int`                | Não         | `null`              | Pula os N primeiros resultados. Use com `first` (não combine com `last`).                                 |\n| `sortOrder`      | `SortOrder`          | Não         | `desc`              | Direção da ordenação (`asc`/`desc`).                                                                      |\n| `sortBy`         | `ProductSortByField` | Não         | `createdAt`         | Campo de ordenação (`_id`, `createdAt`, `title`, `updatedAt`).                                            |\n\n### Retorno\n\n`ProductKitConnection` — uma connection Relay (ver **Paginação Relay** no folder deste domínio). Cada nó é um `ProductKit` completo (mesma forma retornada por `productKit` — título, preço, `kitComponents`, `requiredPicksPerGroup`, mídia, tags etc.).\n\n| Propriedade                | Tipo           | Descrição                                                                         |\n| -------------------------- | -------------- | --------------------------------------------------------------------------------- |\n| `edges[].cursor`           | `String!`      | Cursor do item, usado com `after`/`before` para paginar.                          |\n| `edges[].node`             | `ProductKit`   | O kit em si. Ver a operação `productKit` para o detalhamento completo dos campos. |\n| `nodes`                    | `[ProductKit]` | Atalho com os kits diretamente, sem o wrapper de cursor de `edges`.               |\n| `pageInfo.hasNextPage`     | `Boolean!`     | Se há mais resultados após a página atual.                                        |\n| `pageInfo.hasPreviousPage` | `Boolean!`     | Se há resultados antes da página atual.                                           |\n| `pageInfo.startCursor`     | `String`       | Cursor do primeiro item da página atual.                                          |\n| `pageInfo.endCursor`       | `String`       | Cursor do último item da página atual.                                            |\n| `totalCount`               | `Int!`         | Total de kits que atendem aos filtros, independente da paginação.                 |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                                                                           |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                    |\n| _(sem código)_    | Argumentos `last` e `offset` enviados juntos. | Erro de validação com mensagem descritiva, sem `extensions.code` estável. Envie apenas um dos dois esquemas de paginação por chamada. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Sem filtros, esta operação retorna todos os kits elegíveis da loja, sujeito à paginação — em lojas grandes, sempre pagine e evite depender de `totalCount` sozinho para decidir o volume de chamadas.\n- `query` faz correspondência via regex — caracteres especiais de regex no texto de busca podem ter efeito inesperado; escape-os se buscar por texto literal.\n- Assim como em `productKit`, o campo `kitComponents` de cada nó pode vir com menos itens do que a configuração original do kit, sem gerar erro, quando um componente foi excluído (ver Notas de `productKit`)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"3021b286-d351-5e92-a7ab-e8767198b4f5"}],"id":"89d4c747-c6d7-4682-872d-22659bdc3663","_postman_id":"89d4c747-c6d7-4682-872d-22659bdc3663","description":""}],"id":"e7f05eee-1847-4a6a-9dc7-eec2f44cc8d6","description":"<h1 id=\"produtos\">Produtos</h1>\n<p>Consultas de catálogo para itens individuais e kits: <code>product</code>/<code>products</code> cobrem produtos do tipo SIMPLE, VARIANT e OPTION; <code>productKit</code>/<code>productKits</code> cobrem produtos do tipo KIT (combos com componentes obrigatórios). As quatro operações são somente leitura e sempre escopadas à loja da conta autenticada — não existe um parâmetro de loja nestas operações, então não tente enviá-lo.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum/Tipo</th>\n<th>Valores/Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ProductTypesEnum</code></td>\n<td><code>SIMPLE</code>, <code>VARIANT</code>, <code>OPTION</code>, <code>KIT</code></td>\n<td>Define o comportamento do produto. <code>product</code>/<code>products</code> filtram implicitamente por <code>SIMPLE</code>/<code>VARIANT</code>/<code>OPTION</code>; <code>productKit</code>/<code>productKits</code> filtram implicitamente por <code>KIT</code>. Você não escolhe o tipo via argumento — a query já determina o filtro.</td>\n</tr>\n<tr>\n<td><code>ProductSortByField</code></td>\n<td><code>_id</code>, <code>createdAt</code>, <code>title</code>, <code>updatedAt</code></td>\n<td>Campo de ordenação das listagens (<code>products</code>, <code>productKits</code>). Se omitido, a ordenação padrão é por <code>createdAt</code>.</td>\n</tr>\n<tr>\n<td><code>SortOrder</code></td>\n<td><code>asc</code>, <code>desc</code></td>\n<td>Direção da ordenação. Se omitido, o padrão é <code>desc</code>.</td>\n</tr>\n<tr>\n<td><code>FulfillmentType</code></td>\n<td><code>SHIPPING</code>, <code>NONE</code></td>\n<td>Tipos de atendimento disponíveis para o produto (usado em <code>supportedFulfillmentTypes</code> de kits).</td>\n</tr>\n<tr>\n<td><code>Money</code></td>\n<td><code>amount</code>, <code>currency</code>, <code>displayAmount</code></td>\n<td>Valor monetário simples (usado, por exemplo, em <code>ProductKit.price</code>/<code>compareAtPrice</code> e nos itens de <code>kitComponents</code>).</td>\n</tr>\n<tr>\n<td><code>Currency</code></td>\n<td><code>code</code>, <code>symbol</code>, <code>format</code>, <code>decimal</code>, <code>thousand</code>, <code>scale</code>, <code>rate</code></td>\n<td>Metadados de exibição/formatação da moeda associada a um valor de preço.</td>\n</tr>\n<tr>\n<td><code>ImageInfo</code>/<code>ImageSizes</code></td>\n<td><code>URLs</code> (<code>large</code>, <code>medium</code>, <code>original</code>, <code>small</code>, <code>thumbnail</code>), <code>priority</code>, <code>productId</code>, <code>variantId</code></td>\n<td>Estrutura de mídia retornada pelo campo <code>media</code> dos kits, com uma URL por resolução.</td>\n</tr>\n<tr>\n<td><code>Metafield</code></td>\n<td><code>key</code>, <code>value</code>, <code>namespace</code>, <code>scope</code>, <code>valueType</code>, <code>description</code></td>\n<td>Atributo customizado livre associado ao produto/kit.</td>\n</tr>\n<tr>\n<td><code>SocialMetadata</code></td>\n<td><code>message</code>, <code>service</code> (<code>SocialNetwork</code>: <code>facebook</code>, <code>googleplus</code>, <code>pinterest</code>, <code>twitter</code>)</td>\n<td>Texto de compartilhamento sugerido por rede social.</td>\n</tr>\n<tr>\n<td><code>IsProductPublishable</code></td>\n<td><code>isProductPublishable</code> (Boolean), <code>errorsList</code> (<code>[ErrorsListItem]</code>: <code>message</code>, <code>path</code>)</td>\n<td>Resultado da validação de publicabilidade do kit — se <code>false</code>, <code>errorsList</code> detalha o que falta corrigir.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Item não encontrado retorna <code>null</code>, não erro.</strong> Em <code>product</code> e <code>productKit</code>, um <code>productId</code> inexistente (ou de outra loja, ou de outro tipo — por exemplo, passar o ID de um KIT para <code>product</code>) resulta em resposta <code>null</code> no campo, sem entrar em <code>errors[]</code>.</li>\n<li><strong>Paginação Relay (<code>products</code>, <code>productKits</code>).</strong> Ambas retornam uma connection com <code>edges</code> (<code>{ cursor, node }</code>), <code>nodes</code> (atalho sem o wrapper de cursor), <code>pageInfo</code> (<code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>) e <code>totalCount</code>. Para avançar página, envie <code>first</code> + <code>after: &lt;pageInfo.endCursor&gt;</code>; para retroceder, <code>last</code> + <code>before: &lt;pageInfo.startCursor&gt;</code>. Alternativamente, <code>offset</code> pagina por deslocamento numérico em vez de cursor.</li>\n<li><strong>Não combine <code>last</code> com <code>offset</code>.</strong> Enviar as duas juntas causa um erro de validação (mensagem descritiva, sem <code>extensions.code</code> estável) — escolha um dos dois esquemas de paginação por chamada.</li>\n<li><strong>Filtros de <code>products</code>/<code>productKits</code> são todos opcionais e combináveis</strong> (<code>isArchived</code>, <code>isVisible</code>, <code>productIds</code>, <code>tagIds</code>, <code>priceMin</code>/<code>priceMax</code>, <code>metafieldKey</code>/<code>metafieldValue</code>, <code>query</code> como busca textual). Omitir todos retorna o catálogo completo do tipo correspondente, sujeito à paginação.</li>\n<li><strong><code>kitComponents</code> de um <code>productKit</code>/<code>productKits</code> pode retornar menos itens do que o kit tem cadastrado internamente.</strong> Se um produto ou variante componente do kit foi excluído ou não é mais encontrado, aquele componente é omitido do array silenciosamente (sem erro) — não assuma que o tamanho de <code>kitComponents</code> corresponde exatamente à configuração original do kit.</li>\n<li><strong><code>product</code> retorna apenas dados de preço.</strong> O tipo retornado por <code>product</code>/<code>products</code> expõe somente <code>price</code> e <code>pricing</code> — não inclui título, mídia, slug ou outros dados de exibição. Para essas informações de exibição, use <code>productKit</code>/<code>productKits</code> (quando o item for um kit) ou a query <code>productGroup</code>/<code>productGroups</code> do catálogo.</li>\n</ul>\n","_postman_id":"e7f05eee-1847-4a6a-9dc7-eec2f44cc8d6"},{"name":"Recurring Orders","item":[{"name":"Query","item":[{"name":"[Query] shopRecurringOrders","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns shopRecurringOrders data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"shopRecurringOrders\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"shopRecurringOrders returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.shopRecurringOrders;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"a3712094-3b90-5319-bd38-2ac41a72815f","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrders($filters: ShopRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  shopRecurringOrders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        customerAccountId\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        cyclesInformation {\n          cycleCount\n          skipNextCycle\n          lastCycleDate\n          nextCycleDate\n          currentCycle {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            completedAt\n            discount {\n              discountId\n              code\n            }\n            recurringOrderId\n            order {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            cycleIndex\n            items {\n              productERPCode\n              productId\n              variantERPCode\n              variantId\n              productKitId\n              skipped\n              status\n              quantity\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            frequency {\n              _id\n              title\n              periodicity\n              interval\n            }\n            skipped\n            status {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            error {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            attemptingRetry\n            retryAttempt {\n              nextRetryDate\n              currentRetryAttempt\n            }\n            manuallyRetried\n            manuallyRetriedByAccountId\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          quantity\n          skipNextCycle\n        }\n        unboxPayCustomerCreditCard {\n          first4Digits\n          first6Digits\n          last4Digits\n          expirationMonth\n          expirationYear\n          holderName\n        }\n        shippingAddressBook {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      customerAccountId\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      cyclesInformation {\n        cycleCount\n        skipNextCycle\n        lastCycleDate\n        nextCycleDate\n        currentCycle {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          completedAt\n          discount {\n            discountId\n            code\n          }\n          recurringOrderId\n          order {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          cycleIndex\n          items {\n            catalogProduct {\n              _id\n              erpCode\n              barcode\n              createdAt\n              description\n              height\n              isDeleted\n              isVisible\n              length\n              metaDescription\n              minOrderQuantity\n              maxOrderQuantity\n              originCountry\n              pageTitle\n              productId\n              type\n              productType\n              recurrenceAllowed\n              sku\n              slug\n              supportedFulfillmentTypes\n              title\n              updatedAt\n              vendor\n              sortIndex\n              videoUrls\n              weight\n              width\n              additionalInformation\n              measurementsInformation\n              requiredPicksPerGroup\n              unitPriceLabel\n              titleLabel\n              highlightLabel\n              kitGroupDescription\n              unitPriceFactor\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              tagIds\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              imageUrls\n            }\n            productERPCode\n            productId\n            variantERPCode\n            variantId\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            skipped\n            status\n            quantity\n            originalPrice {\n              amount\n              displayAmount\n            }\n            cyclePrice {\n              amount\n              displayAmount\n            }\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          frequency {\n            _id\n            title\n            periodicity\n            interval\n          }\n          skipped\n          status {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          error {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          attemptingRetry\n          retryAttempt {\n            nextRetryDate\n            currentRetryAttempt\n          }\n          manuallyRetried\n          manuallyRetriedByAccountId\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        quantity\n        skipNextCycle\n      }\n      unboxPayCustomerCreditCard {\n        first4Digits\n        first6Digits\n        last4Digits\n        expirationMonth\n        expirationYear\n        holderName\n      }\n      shippingAddressBook {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"shoprecurringorders\">shopRecurringOrders</h2>\n<p><strong>Propósito:</strong> Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status e por período de criação.\n<strong>Quando usar:</strong> Para acompanhar a carteira de assinaturas — ativas, pausadas, canceladas ou em erro. É o ponto de entrada do domínio: a partir do <code>_id</code> retornado aqui você consulta o histórico de ciclos com <code>shopRecurringOrderCycles</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — não há argumento de loja nesta query.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>ShopRecurringOrdersFilterInput</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtros da listagem. Omitido, retorna todas as assinaturas da loja.</td>\n</tr>\n<tr>\n<td><code>filters.status</code></td>\n<td><code>[RecurringOrderStatusEnum]</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Filtra por uma lista de status (<code>ACTIVE</code>, <code>CANCELED</code>, <code>PAUSED</code>, <code>ERROR</code>) — combina com \"ou\": qualquer assinatura cujo status esteja na lista é retornada.</td>\n</tr>\n<tr>\n<td><code>filters.createdAt</code></td>\n<td><code>DateFilterInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Filtra por período de criação: <code>{ gte: AWSDateTime, lte: AWSDateTime }</code>, ambos opcionais e combináveis.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor Relay: retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor Relay: retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados. Usado com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados. Usado com <code>before</code>.</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Retorna resultados a partir do N-ésimo item. Alternativa a <code>after</code> baseada em posição.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Ordem de classificação: <code>asc</code> ou <code>desc</code>.</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>RecurringOrdersSortByField</code></td>\n<td>Não</td>\n<td><code>createdAt</code></td>\n<td>Campo de ordenação. Único valor disponível hoje: <code>createdAt</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrderConnection!</code> — conexão Relay (ver paginação no folder). Cada <code>node</code> é uma <code>RecurringOrder</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes[]._id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador da assinatura. Use este valor no filtro <code>recurringOrderId</code> de <code>shopRecurringOrderCycles</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].referenceId</code></td>\n<td><code>String!</code></td>\n<td>Identificador amigável da assinatura.</td>\n</tr>\n<tr>\n<td><code>nodes[].customerAccountId</code></td>\n<td><code>String!</code></td>\n<td>Conta do cliente dono da assinatura.</td>\n</tr>\n<tr>\n<td><code>nodes[].createdAt</code> / <code>updatedAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Datas de criação e última atualização.</td>\n</tr>\n<tr>\n<td><code>nodes[].status</code></td>\n<td><code>RecurringOrderStatus!</code></td>\n<td>Status da assinatura. <code>value</code> (<code>ACTIVE</code>/<code>CANCELED</code>/<code>PAUSED</code>/<code>ERROR</code>) traz o status atual; <code>createdAt</code>/<code>createdBy</code>/<code>triggeredBy</code> descrevem quando e por quem essa transição ocorreu.</td>\n</tr>\n<tr>\n<td><code>nodes[].status.history[]</code></td>\n<td><code>RecurringOrderStatusHistory</code></td>\n<td>Histórico de mudanças de status, cada item com <code>value</code>, <code>createdAt</code>, <code>triggeredBy</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].unboxPayCustomerId</code></td>\n<td><code>String!</code></td>\n<td>Identificador do cliente no Unbox Pay, usado para vincular a cobrança recorrente.</td>\n</tr>\n<tr>\n<td><code>nodes[].frequency</code></td>\n<td><code>RecurringOrderFrequency!</code></td>\n<td>Frequência de recorrência: <code>_id</code>, <code>title</code> (rótulo), <code>periodicity</code> (<code>DAY</code>/<code>WEEK</code>/<code>MONTH</code>) e <code>interval</code> (multiplicador da periodicidade).</td>\n</tr>\n<tr>\n<td><code>nodes[].pricingPolicy</code></td>\n<td><code>RecurringOrderPricingPolicy!</code></td>\n<td>Política de preço aplicada aos ciclos: <code>type</code> (<code>PERCENTAGE_OFF</code>/<code>AMOUNT_OFF</code>/<code>NONE</code>) e <code>value</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].cyclesInformation.cycleCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de ciclos já gerados para esta assinatura.</td>\n</tr>\n<tr>\n<td><code>nodes[].cyclesInformation.skipNextCycle</code></td>\n<td><code>Boolean!</code></td>\n<td>Se <code>true</code>, o próximo ciclo será pulado automaticamente.</td>\n</tr>\n<tr>\n<td><code>nodes[].cyclesInformation.lastCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data do último ciclo gerado. <code>null</code> se nenhum ciclo foi gerado ainda.</td>\n</tr>\n<tr>\n<td><code>nodes[].cyclesInformation.nextCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data prevista do próximo ciclo.</td>\n</tr>\n<tr>\n<td><code>nodes[].cyclesInformation.currentCycle</code></td>\n<td><code>RecurringOrderCycle</code></td>\n<td>Resumo do ciclo em andamento/mais recente. Para o histórico completo, use <code>shopRecurringOrderCycles</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].items[]</code></td>\n<td><code>[RecurringOrderItem]!</code></td>\n<td>Itens que compõem cada novo ciclo: <code>productId</code>/<code>variantId</code>/<code>productKitId</code> e os códigos de ERP correspondentes (<code>productERPCode</code>, <code>variantERPCode</code>), <code>productKitItemsConfigurations</code> (configuração de cada componente, para itens do tipo kit), <code>quantity</code>, <code>price</code>, <code>skipNextCycle</code> e <code>catalogProduct</code> (dados do catálogo).</td>\n</tr>\n<tr>\n<td><code>nodes[].discount</code></td>\n<td><code>RecurringOrderDiscountData</code></td>\n<td>Cupom de desconto aplicado à assinatura (<code>discountId</code>, <code>code</code>). <code>null</code> se nenhum cupom foi usado.</td>\n</tr>\n<tr>\n<td><code>nodes[].unboxPayCustomerCreditCard</code></td>\n<td><code>RecurringOrderCreditCard!</code></td>\n<td>Cartão usado para cobrança: <code>last4Digits</code> (sempre presente), <code>first4Digits</code>/<code>first6Digits</code> (nem sempre presentes), <code>expirationMonth</code>, <code>expirationYear</code>, <code>holderName</code>. Nunca traz o número completo do cartão.</td>\n</tr>\n<tr>\n<td><code>nodes[].shippingAddressBook</code></td>\n<td><code>Address</code></td>\n<td>Endereço de entrega configurado para a assinatura. <code>null</code> se não houver um definido.</td>\n</tr>\n<tr>\n<td><code>nodes[].totalAmount</code></td>\n<td><code>Money!</code></td>\n<td>Estimativa do valor do próximo ciclo (<code>amount</code> decimal, <code>currency</code>, <code>displayAmount</code> já formatado), calculada a partir dos preços de catálogo dos itens. É aproximado — pode incluir itens que serão pulados ou que estão fora de estoque. Para o valor efetivamente cobrado, use o <code>totalAmount</code> do ciclo em <code>shopRecurringOrderCycles</code> (ou <code>cyclesInformation.currentCycle.totalAmount</code>).</td>\n</tr>\n<tr>\n<td><code>pageInfo</code> / <code>totalCount</code></td>\n<td><code>PageInfo!</code> / <code>Int!</code></td>\n<td>Metadados de paginação Relay — ver folder.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<p>Nenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (<code>access_token</code> ausente, inválido ou expirado) seguem o padrão geral descrito na Overview.</p>\n<blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha, mesmo aqui.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Filtro por status é uma lista (\"ou\"), não um valor único.</strong> Envie <code>filters.status: [ACTIVE, PAUSED]</code> para trazer assinaturas em qualquer um desses status.</li>\n<li><strong><code>filters.createdAt.gte</code>/<code>lte</code> são independentes e combináveis</strong> — envie só um dos dois para um filtro \"a partir de\" ou \"até\", ou ambos para um intervalo fechado.</li>\n<li><strong>Sem <code>filters</code>, a chamada retorna todas as assinaturas da loja</strong>, independente de status.</li>\n<li><strong>Ordenação hoje é fixa por <code>createdAt</code></strong> — o enum <code>RecurringOrdersSortByField</code> só expõe esse valor; o argumento existe para compatibilidade futura.</li>\n<li><code>cyclesInformation.currentCycle</code> é apenas um resumo do ciclo mais recente/atual; para navegar por todos os ciclos (incluindo os concluídos), use <code>shopRecurringOrderCycles</code> com o <code>_id</code> desta assinatura.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7c038929-edbc-43fe-bafe-a0985f7c5d3e","name":"200 - shopRecurringOrders","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrders($filters: ShopRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  shopRecurringOrders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        customerAccountId\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        cyclesInformation {\n          cycleCount\n          skipNextCycle\n          lastCycleDate\n          nextCycleDate\n          currentCycle {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            completedAt\n            discount {\n              discountId\n              code\n            }\n            recurringOrderId\n            order {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            cycleIndex\n            items {\n              productERPCode\n              productId\n              variantERPCode\n              variantId\n              productKitId\n              skipped\n              status\n              quantity\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            frequency {\n              _id\n              title\n              periodicity\n              interval\n            }\n            skipped\n            status {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            error {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            attemptingRetry\n            retryAttempt {\n              nextRetryDate\n              currentRetryAttempt\n            }\n            manuallyRetried\n            manuallyRetriedByAccountId\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          quantity\n          skipNextCycle\n        }\n        unboxPayCustomerCreditCard {\n          first4Digits\n          first6Digits\n          last4Digits\n          expirationMonth\n          expirationYear\n          holderName\n        }\n        shippingAddressBook {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      customerAccountId\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      cyclesInformation {\n        cycleCount\n        skipNextCycle\n        lastCycleDate\n        nextCycleDate\n        currentCycle {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          completedAt\n          discount {\n            discountId\n            code\n          }\n          recurringOrderId\n          order {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          cycleIndex\n          items {\n            catalogProduct {\n              _id\n              erpCode\n              barcode\n              createdAt\n              description\n              height\n              isDeleted\n              isVisible\n              length\n              metaDescription\n              minOrderQuantity\n              maxOrderQuantity\n              originCountry\n              pageTitle\n              productId\n              type\n              productType\n              recurrenceAllowed\n              sku\n              slug\n              supportedFulfillmentTypes\n              title\n              updatedAt\n              vendor\n              sortIndex\n              videoUrls\n              weight\n              width\n              additionalInformation\n              measurementsInformation\n              requiredPicksPerGroup\n              unitPriceLabel\n              titleLabel\n              highlightLabel\n              kitGroupDescription\n              unitPriceFactor\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              tagIds\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              imageUrls\n            }\n            productERPCode\n            productId\n            variantERPCode\n            variantId\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            skipped\n            status\n            quantity\n            originalPrice {\n              amount\n              displayAmount\n            }\n            cyclePrice {\n              amount\n              displayAmount\n            }\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          frequency {\n            _id\n            title\n            periodicity\n            interval\n          }\n          skipped\n          status {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          error {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          attemptingRetry\n          retryAttempt {\n            nextRetryDate\n            currentRetryAttempt\n          }\n          manuallyRetried\n          manuallyRetriedByAccountId\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        quantity\n        skipNextCycle\n      }\n      unboxPayCustomerCreditCard {\n        first4Digits\n        first6Digits\n        last4Digits\n        expirationMonth\n        expirationYear\n        holderName\n      }\n      shippingAddressBook {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status e por período de criação.\n**Quando usar:** Para acompanhar a carteira de assinaturas — ativas, pausadas, canceladas ou em erro. É o ponto de entrada do domínio: a partir do `_id` retornado aqui você consulta o histórico de ciclos com `shopRecurringOrderCycles`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não há argumento de loja nesta query.\n\n### Argumentos\n\n| Nome                | Tipo                             | Obrigatório | Default     | Descrição                                                                                                                                                 |\n| ------------------- | -------------------------------- | ----------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filters`           | `ShopRecurringOrdersFilterInput` | Não         | `null`      | Filtros da listagem. Omitido, retorna todas as assinaturas da loja.                                                                                       |\n| `filters.status`    | `[RecurringOrderStatusEnum]`     | Não         | —           | Filtra por uma lista de status (`ACTIVE`, `CANCELED`, `PAUSED`, `ERROR`) — combina com \"ou\": qualquer assinatura cujo status esteja na lista é retornada. |\n| `filters.createdAt` | `DateFilterInput`                | Não         | —           | Filtra por período de criação: `{ gte: AWSDateTime, lte: AWSDateTime }`, ambos opcionais e combináveis.                                                   |\n| `after`             | `String`                         | Não         | `null`      | Cursor Relay: retorna resultados após este cursor. Use com `first`.                                                                                       |\n| `before`            | `String`                         | Não         | `null`      | Cursor Relay: retorna resultados antes deste cursor. Use com `last`.                                                                                      |\n| `first`             | `Int`                            | Não         | —           | Quantidade máxima de resultados. Usado com `after` ou `offset`.                                                                                           |\n| `last`              | `Int`                            | Não         | —           | Quantidade máxima de resultados. Usado com `before`.                                                                                                      |\n| `offset`            | `Int`                            | Não         | —           | Retorna resultados a partir do N-ésimo item. Alternativa a `after` baseada em posição.                                                                    |\n| `sortOrder`         | `SortOrder`                      | Não         | `desc`      | Ordem de classificação: `asc` ou `desc`.                                                                                                                  |\n| `sortBy`            | `RecurringOrdersSortByField`     | Não         | `createdAt` | Campo de ordenação. Único valor disponível hoje: `createdAt`.                                                                                             |\n\n### Retorno\n\n`RecurringOrderConnection!` — conexão Relay (ver paginação no folder). Cada `node` é uma `RecurringOrder`:\n\n| Propriedade                               | Tipo                           | Descrição                                                                                                                                                                                                                                                                                                                                                                                  |\n| ----------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `nodes[]._id`                             | `ID!`                          | Identificador da assinatura. Use este valor no filtro `recurringOrderId` de `shopRecurringOrderCycles`.                                                                                                                                                                                                                                                                                    |\n| `nodes[].referenceId`                     | `String!`                      | Identificador amigável da assinatura.                                                                                                                                                                                                                                                                                                                                                      |\n| `nodes[].customerAccountId`               | `String!`                      | Conta do cliente dono da assinatura.                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].createdAt` / `updatedAt`         | `AWSDateTime!`                 | Datas de criação e última atualização.                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].status`                          | `RecurringOrderStatus!`        | Status da assinatura. `value` (`ACTIVE`/`CANCELED`/`PAUSED`/`ERROR`) traz o status atual; `createdAt`/`createdBy`/`triggeredBy` descrevem quando e por quem essa transição ocorreu.                                                                                                                                                                                                        |\n| `nodes[].status.history[]`                | `RecurringOrderStatusHistory`  | Histórico de mudanças de status, cada item com `value`, `createdAt`, `triggeredBy`.                                                                                                                                                                                                                                                                                                        |\n| `nodes[].unboxPayCustomerId`              | `String!`                      | Identificador do cliente no Unbox Pay, usado para vincular a cobrança recorrente.                                                                                                                                                                                                                                                                                                          |\n| `nodes[].frequency`                       | `RecurringOrderFrequency!`     | Frequência de recorrência: `_id`, `title` (rótulo), `periodicity` (`DAY`/`WEEK`/`MONTH`) e `interval` (multiplicador da periodicidade).                                                                                                                                                                                                                                                    |\n| `nodes[].pricingPolicy`                   | `RecurringOrderPricingPolicy!` | Política de preço aplicada aos ciclos: `type` (`PERCENTAGE_OFF`/`AMOUNT_OFF`/`NONE`) e `value`.                                                                                                                                                                                                                                                                                            |\n| `nodes[].cyclesInformation.cycleCount`    | `Int!`                         | Total de ciclos já gerados para esta assinatura.                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].cyclesInformation.skipNextCycle` | `Boolean!`                     | Se `true`, o próximo ciclo será pulado automaticamente.                                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].cyclesInformation.lastCycleDate` | `AWSDateTime`                  | Data do último ciclo gerado. `null` se nenhum ciclo foi gerado ainda.                                                                                                                                                                                                                                                                                                                      |\n| `nodes[].cyclesInformation.nextCycleDate` | `AWSDateTime`                  | Data prevista do próximo ciclo.                                                                                                                                                                                                                                                                                                                                                            |\n| `nodes[].cyclesInformation.currentCycle`  | `RecurringOrderCycle`          | Resumo do ciclo em andamento/mais recente. Para o histórico completo, use `shopRecurringOrderCycles`.                                                                                                                                                                                                                                                                                      |\n| `nodes[].items[]`                         | `[RecurringOrderItem]!`        | Itens que compõem cada novo ciclo: `productId`/`variantId`/`productKitId` e os códigos de ERP correspondentes (`productERPCode`, `variantERPCode`), `productKitItemsConfigurations` (configuração de cada componente, para itens do tipo kit), `quantity`, `price`, `skipNextCycle` e `catalogProduct` (dados do catálogo).                                                                |\n| `nodes[].discount`                        | `RecurringOrderDiscountData`   | Cupom de desconto aplicado à assinatura (`discountId`, `code`). `null` se nenhum cupom foi usado.                                                                                                                                                                                                                                                                                          |\n| `nodes[].unboxPayCustomerCreditCard`      | `RecurringOrderCreditCard!`    | Cartão usado para cobrança: `last4Digits` (sempre presente), `first4Digits`/`first6Digits` (nem sempre presentes), `expirationMonth`, `expirationYear`, `holderName`. Nunca traz o número completo do cartão.                                                                                                                                                                              |\n| `nodes[].shippingAddressBook`             | `Address`                      | Endereço de entrega configurado para a assinatura. `null` se não houver um definido.                                                                                                                                                                                                                                                                                                       |\n| `nodes[].totalAmount`                     | `Money!`                       | Estimativa do valor do próximo ciclo (`amount` decimal, `currency`, `displayAmount` já formatado), calculada a partir dos preços de catálogo dos itens. É aproximado — pode incluir itens que serão pulados ou que estão fora de estoque. Para o valor efetivamente cobrado, use o `totalAmount` do ciclo em `shopRecurringOrderCycles` (ou `cyclesInformation.currentCycle.totalAmount`). |\n| `pageInfo` / `totalCount`                 | `PageInfo!` / `Int!`           | Metadados de paginação Relay — ver folder.                                                                                                                                                                                                                                                                                                                                                 |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente, inválido ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- **Filtro por status é uma lista (\"ou\"), não um valor único.** Envie `filters.status: [ACTIVE, PAUSED]` para trazer assinaturas em qualquer um desses status.\n- **`filters.createdAt.gte`/`lte` são independentes e combináveis** — envie só um dos dois para um filtro \"a partir de\" ou \"até\", ou ambos para um intervalo fechado.\n- **Sem `filters`, a chamada retorna todas as assinaturas da loja**, independente de status.\n- **Ordenação hoje é fixa por `createdAt`** — o enum `RecurringOrdersSortByField` só expõe esse valor; o argumento existe para compatibilidade futura.\n- `cyclesInformation.currentCycle` é apenas um resumo do ciclo mais recente/atual; para navegar por todos os ciclos (incluindo os concluídos), use `shopRecurringOrderCycles` com o `_id` desta assinatura."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"shopRecurringOrders\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"shopId\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"customerAccountId\": \"Example_String\",\n          \"unboxPayCustomerId\": \"Example_String\",\n          \"referenceId\": \"Example_String\"\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"a10f9325-4da8-419a-88cd-3a06abbb4ccf","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrders($filters: ShopRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  shopRecurringOrders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        customerAccountId\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        cyclesInformation {\n          cycleCount\n          skipNextCycle\n          lastCycleDate\n          nextCycleDate\n          currentCycle {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            completedAt\n            discount {\n              discountId\n              code\n            }\n            recurringOrderId\n            order {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            cycleIndex\n            items {\n              productERPCode\n              productId\n              variantERPCode\n              variantId\n              productKitId\n              skipped\n              status\n              quantity\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            frequency {\n              _id\n              title\n              periodicity\n              interval\n            }\n            skipped\n            status {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            error {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            attemptingRetry\n            retryAttempt {\n              nextRetryDate\n              currentRetryAttempt\n            }\n            manuallyRetried\n            manuallyRetriedByAccountId\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          quantity\n          skipNextCycle\n        }\n        unboxPayCustomerCreditCard {\n          first4Digits\n          first6Digits\n          last4Digits\n          expirationMonth\n          expirationYear\n          holderName\n        }\n        shippingAddressBook {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      customerAccountId\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      cyclesInformation {\n        cycleCount\n        skipNextCycle\n        lastCycleDate\n        nextCycleDate\n        currentCycle {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          completedAt\n          discount {\n            discountId\n            code\n          }\n          recurringOrderId\n          order {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          cycleIndex\n          items {\n            catalogProduct {\n              _id\n              erpCode\n              barcode\n              createdAt\n              description\n              height\n              isDeleted\n              isVisible\n              length\n              metaDescription\n              minOrderQuantity\n              maxOrderQuantity\n              originCountry\n              pageTitle\n              productId\n              type\n              productType\n              recurrenceAllowed\n              sku\n              slug\n              supportedFulfillmentTypes\n              title\n              updatedAt\n              vendor\n              sortIndex\n              videoUrls\n              weight\n              width\n              additionalInformation\n              measurementsInformation\n              requiredPicksPerGroup\n              unitPriceLabel\n              titleLabel\n              highlightLabel\n              kitGroupDescription\n              unitPriceFactor\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              tagIds\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              imageUrls\n            }\n            productERPCode\n            productId\n            variantERPCode\n            variantId\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            skipped\n            status\n            quantity\n            originalPrice {\n              amount\n              displayAmount\n            }\n            cyclePrice {\n              amount\n              displayAmount\n            }\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          frequency {\n            _id\n            title\n            periodicity\n            interval\n          }\n          skipped\n          status {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          error {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          attemptingRetry\n          retryAttempt {\n            nextRetryDate\n            currentRetryAttempt\n          }\n          manuallyRetried\n          manuallyRetriedByAccountId\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        quantity\n        skipNextCycle\n      }\n      unboxPayCustomerCreditCard {\n        first4Digits\n        first6Digits\n        last4Digits\n        expirationMonth\n        expirationYear\n        holderName\n      }\n      shippingAddressBook {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status e por período de criação.\n**Quando usar:** Para acompanhar a carteira de assinaturas — ativas, pausadas, canceladas ou em erro. É o ponto de entrada do domínio: a partir do `_id` retornado aqui você consulta o histórico de ciclos com `shopRecurringOrderCycles`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não há argumento de loja nesta query.\n\n### Argumentos\n\n| Nome                | Tipo                             | Obrigatório | Default     | Descrição                                                                                                                                                 |\n| ------------------- | -------------------------------- | ----------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filters`           | `ShopRecurringOrdersFilterInput` | Não         | `null`      | Filtros da listagem. Omitido, retorna todas as assinaturas da loja.                                                                                       |\n| `filters.status`    | `[RecurringOrderStatusEnum]`     | Não         | —           | Filtra por uma lista de status (`ACTIVE`, `CANCELED`, `PAUSED`, `ERROR`) — combina com \"ou\": qualquer assinatura cujo status esteja na lista é retornada. |\n| `filters.createdAt` | `DateFilterInput`                | Não         | —           | Filtra por período de criação: `{ gte: AWSDateTime, lte: AWSDateTime }`, ambos opcionais e combináveis.                                                   |\n| `after`             | `String`                         | Não         | `null`      | Cursor Relay: retorna resultados após este cursor. Use com `first`.                                                                                       |\n| `before`            | `String`                         | Não         | `null`      | Cursor Relay: retorna resultados antes deste cursor. Use com `last`.                                                                                      |\n| `first`             | `Int`                            | Não         | —           | Quantidade máxima de resultados. Usado com `after` ou `offset`.                                                                                           |\n| `last`              | `Int`                            | Não         | —           | Quantidade máxima de resultados. Usado com `before`.                                                                                                      |\n| `offset`            | `Int`                            | Não         | —           | Retorna resultados a partir do N-ésimo item. Alternativa a `after` baseada em posição.                                                                    |\n| `sortOrder`         | `SortOrder`                      | Não         | `desc`      | Ordem de classificação: `asc` ou `desc`.                                                                                                                  |\n| `sortBy`            | `RecurringOrdersSortByField`     | Não         | `createdAt` | Campo de ordenação. Único valor disponível hoje: `createdAt`.                                                                                             |\n\n### Retorno\n\n`RecurringOrderConnection!` — conexão Relay (ver paginação no folder). Cada `node` é uma `RecurringOrder`:\n\n| Propriedade                               | Tipo                           | Descrição                                                                                                                                                                                                                                                                                                                                                                                  |\n| ----------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `nodes[]._id`                             | `ID!`                          | Identificador da assinatura. Use este valor no filtro `recurringOrderId` de `shopRecurringOrderCycles`.                                                                                                                                                                                                                                                                                    |\n| `nodes[].referenceId`                     | `String!`                      | Identificador amigável da assinatura.                                                                                                                                                                                                                                                                                                                                                      |\n| `nodes[].customerAccountId`               | `String!`                      | Conta do cliente dono da assinatura.                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].createdAt` / `updatedAt`         | `AWSDateTime!`                 | Datas de criação e última atualização.                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].status`                          | `RecurringOrderStatus!`        | Status da assinatura. `value` (`ACTIVE`/`CANCELED`/`PAUSED`/`ERROR`) traz o status atual; `createdAt`/`createdBy`/`triggeredBy` descrevem quando e por quem essa transição ocorreu.                                                                                                                                                                                                        |\n| `nodes[].status.history[]`                | `RecurringOrderStatusHistory`  | Histórico de mudanças de status, cada item com `value`, `createdAt`, `triggeredBy`.                                                                                                                                                                                                                                                                                                        |\n| `nodes[].unboxPayCustomerId`              | `String!`                      | Identificador do cliente no Unbox Pay, usado para vincular a cobrança recorrente.                                                                                                                                                                                                                                                                                                          |\n| `nodes[].frequency`                       | `RecurringOrderFrequency!`     | Frequência de recorrência: `_id`, `title` (rótulo), `periodicity` (`DAY`/`WEEK`/`MONTH`) e `interval` (multiplicador da periodicidade).                                                                                                                                                                                                                                                    |\n| `nodes[].pricingPolicy`                   | `RecurringOrderPricingPolicy!` | Política de preço aplicada aos ciclos: `type` (`PERCENTAGE_OFF`/`AMOUNT_OFF`/`NONE`) e `value`.                                                                                                                                                                                                                                                                                            |\n| `nodes[].cyclesInformation.cycleCount`    | `Int!`                         | Total de ciclos já gerados para esta assinatura.                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].cyclesInformation.skipNextCycle` | `Boolean!`                     | Se `true`, o próximo ciclo será pulado automaticamente.                                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].cyclesInformation.lastCycleDate` | `AWSDateTime`                  | Data do último ciclo gerado. `null` se nenhum ciclo foi gerado ainda.                                                                                                                                                                                                                                                                                                                      |\n| `nodes[].cyclesInformation.nextCycleDate` | `AWSDateTime`                  | Data prevista do próximo ciclo.                                                                                                                                                                                                                                                                                                                                                            |\n| `nodes[].cyclesInformation.currentCycle`  | `RecurringOrderCycle`          | Resumo do ciclo em andamento/mais recente. Para o histórico completo, use `shopRecurringOrderCycles`.                                                                                                                                                                                                                                                                                      |\n| `nodes[].items[]`                         | `[RecurringOrderItem]!`        | Itens que compõem cada novo ciclo: `productId`/`variantId`/`productKitId` e os códigos de ERP correspondentes (`productERPCode`, `variantERPCode`), `productKitItemsConfigurations` (configuração de cada componente, para itens do tipo kit), `quantity`, `price`, `skipNextCycle` e `catalogProduct` (dados do catálogo).                                                                |\n| `nodes[].discount`                        | `RecurringOrderDiscountData`   | Cupom de desconto aplicado à assinatura (`discountId`, `code`). `null` se nenhum cupom foi usado.                                                                                                                                                                                                                                                                                          |\n| `nodes[].unboxPayCustomerCreditCard`      | `RecurringOrderCreditCard!`    | Cartão usado para cobrança: `last4Digits` (sempre presente), `first4Digits`/`first6Digits` (nem sempre presentes), `expirationMonth`, `expirationYear`, `holderName`. Nunca traz o número completo do cartão.                                                                                                                                                                              |\n| `nodes[].shippingAddressBook`             | `Address`                      | Endereço de entrega configurado para a assinatura. `null` se não houver um definido.                                                                                                                                                                                                                                                                                                       |\n| `nodes[].totalAmount`                     | `Money!`                       | Estimativa do valor do próximo ciclo (`amount` decimal, `currency`, `displayAmount` já formatado), calculada a partir dos preços de catálogo dos itens. É aproximado — pode incluir itens que serão pulados ou que estão fora de estoque. Para o valor efetivamente cobrado, use o `totalAmount` do ciclo em `shopRecurringOrderCycles` (ou `cyclesInformation.currentCycle.totalAmount`). |\n| `pageInfo` / `totalCount`                 | `PageInfo!` / `Int!`           | Metadados de paginação Relay — ver folder.                                                                                                                                                                                                                                                                                                                                                 |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente, inválido ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- **Filtro por status é uma lista (\"ou\"), não um valor único.** Envie `filters.status: [ACTIVE, PAUSED]` para trazer assinaturas em qualquer um desses status.\n- **`filters.createdAt.gte`/`lte` são independentes e combináveis** — envie só um dos dois para um filtro \"a partir de\" ou \"até\", ou ambos para um intervalo fechado.\n- **Sem `filters`, a chamada retorna todas as assinaturas da loja**, independente de status.\n- **Ordenação hoje é fixa por `createdAt`** — o enum `RecurringOrdersSortByField` só expõe esse valor; o argumento existe para compatibilidade futura.\n- `cyclesInformation.currentCycle` é apenas um resumo do ciclo mais recente/atual; para navegar por todos os ciclos (incluindo os concluídos), use `shopRecurringOrderCycles` com o `_id` desta assinatura."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"9fc1f114-e5a3-49c6-8674-448c8bdf1ae4","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrders($filters: ShopRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  shopRecurringOrders(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        customerAccountId\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        cyclesInformation {\n          cycleCount\n          skipNextCycle\n          lastCycleDate\n          nextCycleDate\n          currentCycle {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            completedAt\n            discount {\n              discountId\n              code\n            }\n            recurringOrderId\n            order {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            cycleIndex\n            items {\n              productERPCode\n              productId\n              variantERPCode\n              variantId\n              productKitId\n              skipped\n              status\n              quantity\n            }\n            pricingPolicy {\n              type\n              value\n            }\n            frequency {\n              _id\n              title\n              periodicity\n              interval\n            }\n            skipped\n            status {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            error {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            attemptingRetry\n            retryAttempt {\n              nextRetryDate\n              currentRetryAttempt\n            }\n            manuallyRetried\n            manuallyRetriedByAccountId\n            totalAmount {\n              amount\n              displayAmount\n            }\n          }\n        }\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          price {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          quantity\n          skipNextCycle\n        }\n        unboxPayCustomerCreditCard {\n          first4Digits\n          first6Digits\n          last4Digits\n          expirationMonth\n          expirationYear\n          holderName\n        }\n        shippingAddressBook {\n          _id\n          alias\n          address1\n          address2\n          city\n          cityCode\n          company\n          country\n          firstName\n          fullName\n          isBillingDefault\n          isCommercial\n          isShippingDefault\n          lastName\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          neighborhood\n          number\n          phone\n          postal\n          region\n          reference\n          taxPayerId\n          mobile\n          trackByMobile\n        }\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      customerAccountId\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      cyclesInformation {\n        cycleCount\n        skipNextCycle\n        lastCycleDate\n        nextCycleDate\n        currentCycle {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          completedAt\n          discount {\n            discountId\n            code\n          }\n          recurringOrderId\n          order {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          cycleIndex\n          items {\n            catalogProduct {\n              _id\n              erpCode\n              barcode\n              createdAt\n              description\n              height\n              isDeleted\n              isVisible\n              length\n              metaDescription\n              minOrderQuantity\n              maxOrderQuantity\n              originCountry\n              pageTitle\n              productId\n              type\n              productType\n              recurrenceAllowed\n              sku\n              slug\n              supportedFulfillmentTypes\n              title\n              updatedAt\n              vendor\n              sortIndex\n              videoUrls\n              weight\n              width\n              additionalInformation\n              measurementsInformation\n              requiredPicksPerGroup\n              unitPriceLabel\n              titleLabel\n              highlightLabel\n              kitGroupDescription\n              unitPriceFactor\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              tagIds\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              imageUrls\n            }\n            productERPCode\n            productId\n            variantERPCode\n            variantId\n            productKitId\n            productKitItemsConfigurations {\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              quantity\n              variantTitle\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n            skipped\n            status\n            quantity\n            originalPrice {\n              amount\n              displayAmount\n            }\n            cyclePrice {\n              amount\n              displayAmount\n            }\n          }\n          pricingPolicy {\n            type\n            value\n          }\n          frequency {\n            _id\n            title\n            periodicity\n            interval\n          }\n          skipped\n          status {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              value\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          error {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          attemptingRetry\n          retryAttempt {\n            nextRetryDate\n            currentRetryAttempt\n          }\n          manuallyRetried\n          manuallyRetriedByAccountId\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n      }\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        price {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        quantity\n        skipNextCycle\n      }\n      unboxPayCustomerCreditCard {\n        first4Digits\n        first6Digits\n        last4Digits\n        expirationMonth\n        expirationYear\n        holderName\n      }\n      shippingAddressBook {\n        _id\n        alias\n        address1\n        address2\n        city\n        cityCode\n        company\n        country\n        firstName\n        fullName\n        isBillingDefault\n        isCommercial\n        isShippingDefault\n        lastName\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        neighborhood\n        number\n        phone\n        postal\n        region\n        reference\n        taxPayerId\n        mobile\n        trackByMobile\n      }\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"status\": [\n      \"ACTIVE\"\n    ],\n    \"createdAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    }\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status e por período de criação.\n**Quando usar:** Para acompanhar a carteira de assinaturas — ativas, pausadas, canceladas ou em erro. É o ponto de entrada do domínio: a partir do `_id` retornado aqui você consulta o histórico de ciclos com `shopRecurringOrderCycles`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — não há argumento de loja nesta query.\n\n### Argumentos\n\n| Nome                | Tipo                             | Obrigatório | Default     | Descrição                                                                                                                                                 |\n| ------------------- | -------------------------------- | ----------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filters`           | `ShopRecurringOrdersFilterInput` | Não         | `null`      | Filtros da listagem. Omitido, retorna todas as assinaturas da loja.                                                                                       |\n| `filters.status`    | `[RecurringOrderStatusEnum]`     | Não         | —           | Filtra por uma lista de status (`ACTIVE`, `CANCELED`, `PAUSED`, `ERROR`) — combina com \"ou\": qualquer assinatura cujo status esteja na lista é retornada. |\n| `filters.createdAt` | `DateFilterInput`                | Não         | —           | Filtra por período de criação: `{ gte: AWSDateTime, lte: AWSDateTime }`, ambos opcionais e combináveis.                                                   |\n| `after`             | `String`                         | Não         | `null`      | Cursor Relay: retorna resultados após este cursor. Use com `first`.                                                                                       |\n| `before`            | `String`                         | Não         | `null`      | Cursor Relay: retorna resultados antes deste cursor. Use com `last`.                                                                                      |\n| `first`             | `Int`                            | Não         | —           | Quantidade máxima de resultados. Usado com `after` ou `offset`.                                                                                           |\n| `last`              | `Int`                            | Não         | —           | Quantidade máxima de resultados. Usado com `before`.                                                                                                      |\n| `offset`            | `Int`                            | Não         | —           | Retorna resultados a partir do N-ésimo item. Alternativa a `after` baseada em posição.                                                                    |\n| `sortOrder`         | `SortOrder`                      | Não         | `desc`      | Ordem de classificação: `asc` ou `desc`.                                                                                                                  |\n| `sortBy`            | `RecurringOrdersSortByField`     | Não         | `createdAt` | Campo de ordenação. Único valor disponível hoje: `createdAt`.                                                                                             |\n\n### Retorno\n\n`RecurringOrderConnection!` — conexão Relay (ver paginação no folder). Cada `node` é uma `RecurringOrder`:\n\n| Propriedade                               | Tipo                           | Descrição                                                                                                                                                                                                                                                                                                                                                                                  |\n| ----------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `nodes[]._id`                             | `ID!`                          | Identificador da assinatura. Use este valor no filtro `recurringOrderId` de `shopRecurringOrderCycles`.                                                                                                                                                                                                                                                                                    |\n| `nodes[].referenceId`                     | `String!`                      | Identificador amigável da assinatura.                                                                                                                                                                                                                                                                                                                                                      |\n| `nodes[].customerAccountId`               | `String!`                      | Conta do cliente dono da assinatura.                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].createdAt` / `updatedAt`         | `AWSDateTime!`                 | Datas de criação e última atualização.                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].status`                          | `RecurringOrderStatus!`        | Status da assinatura. `value` (`ACTIVE`/`CANCELED`/`PAUSED`/`ERROR`) traz o status atual; `createdAt`/`createdBy`/`triggeredBy` descrevem quando e por quem essa transição ocorreu.                                                                                                                                                                                                        |\n| `nodes[].status.history[]`                | `RecurringOrderStatusHistory`  | Histórico de mudanças de status, cada item com `value`, `createdAt`, `triggeredBy`.                                                                                                                                                                                                                                                                                                        |\n| `nodes[].unboxPayCustomerId`              | `String!`                      | Identificador do cliente no Unbox Pay, usado para vincular a cobrança recorrente.                                                                                                                                                                                                                                                                                                          |\n| `nodes[].frequency`                       | `RecurringOrderFrequency!`     | Frequência de recorrência: `_id`, `title` (rótulo), `periodicity` (`DAY`/`WEEK`/`MONTH`) e `interval` (multiplicador da periodicidade).                                                                                                                                                                                                                                                    |\n| `nodes[].pricingPolicy`                   | `RecurringOrderPricingPolicy!` | Política de preço aplicada aos ciclos: `type` (`PERCENTAGE_OFF`/`AMOUNT_OFF`/`NONE`) e `value`.                                                                                                                                                                                                                                                                                            |\n| `nodes[].cyclesInformation.cycleCount`    | `Int!`                         | Total de ciclos já gerados para esta assinatura.                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].cyclesInformation.skipNextCycle` | `Boolean!`                     | Se `true`, o próximo ciclo será pulado automaticamente.                                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].cyclesInformation.lastCycleDate` | `AWSDateTime`                  | Data do último ciclo gerado. `null` se nenhum ciclo foi gerado ainda.                                                                                                                                                                                                                                                                                                                      |\n| `nodes[].cyclesInformation.nextCycleDate` | `AWSDateTime`                  | Data prevista do próximo ciclo.                                                                                                                                                                                                                                                                                                                                                            |\n| `nodes[].cyclesInformation.currentCycle`  | `RecurringOrderCycle`          | Resumo do ciclo em andamento/mais recente. Para o histórico completo, use `shopRecurringOrderCycles`.                                                                                                                                                                                                                                                                                      |\n| `nodes[].items[]`                         | `[RecurringOrderItem]!`        | Itens que compõem cada novo ciclo: `productId`/`variantId`/`productKitId` e os códigos de ERP correspondentes (`productERPCode`, `variantERPCode`), `productKitItemsConfigurations` (configuração de cada componente, para itens do tipo kit), `quantity`, `price`, `skipNextCycle` e `catalogProduct` (dados do catálogo).                                                                |\n| `nodes[].discount`                        | `RecurringOrderDiscountData`   | Cupom de desconto aplicado à assinatura (`discountId`, `code`). `null` se nenhum cupom foi usado.                                                                                                                                                                                                                                                                                          |\n| `nodes[].unboxPayCustomerCreditCard`      | `RecurringOrderCreditCard!`    | Cartão usado para cobrança: `last4Digits` (sempre presente), `first4Digits`/`first6Digits` (nem sempre presentes), `expirationMonth`, `expirationYear`, `holderName`. Nunca traz o número completo do cartão.                                                                                                                                                                              |\n| `nodes[].shippingAddressBook`             | `Address`                      | Endereço de entrega configurado para a assinatura. `null` se não houver um definido.                                                                                                                                                                                                                                                                                                       |\n| `nodes[].totalAmount`                     | `Money!`                       | Estimativa do valor do próximo ciclo (`amount` decimal, `currency`, `displayAmount` já formatado), calculada a partir dos preços de catálogo dos itens. É aproximado — pode incluir itens que serão pulados ou que estão fora de estoque. Para o valor efetivamente cobrado, use o `totalAmount` do ciclo em `shopRecurringOrderCycles` (ou `cyclesInformation.currentCycle.totalAmount`). |\n| `pageInfo` / `totalCount`                 | `PageInfo!` / `Int!`           | Metadados de paginação Relay — ver folder.                                                                                                                                                                                                                                                                                                                                                 |\n\n### Erros\n\nNenhum código de erro de negócio específico conhecido para esta operação. Falhas de autenticação (`access_token` ausente, inválido ou expirado) seguem o padrão geral descrito na Overview.\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- **Filtro por status é uma lista (\"ou\"), não um valor único.** Envie `filters.status: [ACTIVE, PAUSED]` para trazer assinaturas em qualquer um desses status.\n- **`filters.createdAt.gte`/`lte` são independentes e combináveis** — envie só um dos dois para um filtro \"a partir de\" ou \"até\", ou ambos para um intervalo fechado.\n- **Sem `filters`, a chamada retorna todas as assinaturas da loja**, independente de status.\n- **Ordenação hoje é fixa por `createdAt`** — o enum `RecurringOrdersSortByField` só expõe esse valor; o argumento existe para compatibilidade futura.\n- `cyclesInformation.currentCycle` é apenas um resumo do ciclo mais recente/atual; para navegar por todos os ciclos (incluindo os concluídos), use `shopRecurringOrderCycles` com o `_id` desta assinatura."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"a3712094-3b90-5319-bd38-2ac41a72815f"},{"name":"[Query] shopRecurringOrderCycles","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns shopRecurringOrderCycles data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"shopRecurringOrderCycles\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"shopRecurringOrderCycles returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.shopRecurringOrderCycles;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"0278aab7-40d4-581e-b3d7-ef1cfa2769dd","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  shopRecurringOrderCycles(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        completedAt\n        discount {\n          discountId\n          code\n        }\n        recurringOrderId\n        order {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        cycleIndex\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          skipped\n          status\n          quantity\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          cyclePrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        skipped\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        error {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        attemptingRetry\n        retryAttempt {\n          nextRetryDate\n          currentRetryAttempt\n        }\n        manuallyRetried\n        manuallyRetriedByAccountId\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      completedAt\n      discount {\n        discountId\n        code\n      }\n      recurringOrderId\n      order {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      cycleIndex\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        skipped\n        status\n        quantity\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        cyclePrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      skipped\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      error {\n        value {\n          type\n          message\n        }\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      attemptingRetry\n      retryAttempt {\n        nextRetryDate\n        currentRetryAttempt\n      }\n      manuallyRetried\n      manuallyRetriedByAccountId\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"recurringOrderId\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"shoprecurringordercycles\">shopRecurringOrderCycles</h2>\n<p><strong>Propósito:</strong> Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) específica.\n<strong>Quando usar:</strong> Depois de localizar uma assinatura com <code>shopRecurringOrders</code> (ou já conhecendo seu <code>_id</code>), use esta query para inspecionar o que foi cobrado em cada ciclo, quais falharam e por quê, e o pedido (<code>order</code>) gerado por cada ciclo bem-sucedido.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada. O filtro exige o <code>_id</code> da assinatura (<code>recurringOrderId</code>); a Unbox confirma que essa assinatura pertence à loja autenticada antes de retornar qualquer ciclo — caso contrário, a operação falha (ver Erros).</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filters</code></td>\n<td><code>RecurringOrderCyclesFilterInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Filtro da listagem. Obrigatório — não é possível listar ciclos sem informar a assinatura.</td>\n</tr>\n<tr>\n<td><code>filters.recurringOrderId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> da assinatura (retornado por <code>shopRecurringOrders</code>) cujos ciclos serão listados.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor Relay: retorna resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Cursor Relay: retorna resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados. Usado com <code>after</code> ou <code>offset</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados. Usado com <code>before</code>.</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Retorna resultados a partir do N-ésimo item. Alternativa a <code>after</code> baseada em posição.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code></td>\n<td>Não</td>\n<td><code>desc</code></td>\n<td>Ordem de classificação: <code>asc</code> ou <code>desc</code>.</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>RecurringOrderCyclesSortByField</code></td>\n<td>Não</td>\n<td><code>createdAt</code></td>\n<td>Campo de ordenação. Único valor disponível hoje: <code>createdAt</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrderCycleConnection!</code> — conexão Relay (ver paginação no folder). Cada <code>node</code> é um <code>RecurringOrderCycle</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes[]._id</code></td>\n<td><code>ID!</code></td>\n<td>Identificador do ciclo.</td>\n</tr>\n<tr>\n<td><code>nodes[].recurringOrderId</code></td>\n<td><code>String!</code></td>\n<td><code>_id</code> da assinatura que originou este ciclo (mesmo valor enviado no filtro).</td>\n</tr>\n<tr>\n<td><code>nodes[].cycleIndex</code></td>\n<td><code>Int!</code></td>\n<td>Posição deste ciclo na sequência da assinatura (1-based: o primeiro ciclo é <code>1</code>).</td>\n</tr>\n<tr>\n<td><code>nodes[].createdAt</code> / <code>updatedAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Datas de criação e última atualização do ciclo.</td>\n</tr>\n<tr>\n<td><code>nodes[].completedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data em que o ciclo foi concluído. <code>null</code> enquanto o ciclo ainda está pendente.</td>\n</tr>\n<tr>\n<td><code>nodes[].status</code></td>\n<td><code>RecurringOrderCycleStatus!</code></td>\n<td>Status do ciclo. <code>value</code> (<code>PENDING</code>, <code>SUCCESS</code>, <code>ERROR</code> ou <code>REVIEW_REQUIRED</code>) traz o status atual; <code>createdAt</code>/<code>createdBy</code>/<code>triggeredBy</code> descrevem quando e por quem essa transição ocorreu.</td>\n</tr>\n<tr>\n<td><code>nodes[].status.history[]</code></td>\n<td><code>RecurringOrderCycleStatusHistory</code></td>\n<td>Histórico de mudanças de status, cada item com <code>value</code>, <code>createdAt</code>, <code>triggeredBy</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].skipped</code></td>\n<td><code>Boolean!</code></td>\n<td>Se <code>true</code>, este ciclo foi pulado (não gerou cobrança nem pedido).</td>\n</tr>\n<tr>\n<td><code>nodes[].error</code></td>\n<td><code>RecurringOrderErrors</code></td>\n<td>Preenchido apenas quando <code>status</code> é <code>ERROR</code> ou <code>REVIEW_REQUIRED</code>. <code>error.value.type</code> traz o motivo (<code>RecurringOrderErrorTypeEnum</code>, ver folder) e <code>error.value.message</code> uma descrição legível; <code>error.history[]</code> guarda erros de tentativas anteriores.</td>\n</tr>\n<tr>\n<td><code>nodes[].attemptingRetry</code></td>\n<td><code>Boolean!</code></td>\n<td>Se <code>true</code>, uma nova tentativa automática está em andamento para este ciclo.</td>\n</tr>\n<tr>\n<td><code>nodes[].retryAttempt</code></td>\n<td><code>RetryAttempt</code></td>\n<td>Metadados da retentativa: <code>nextRetryDate</code> (próxima tentativa agendada) e <code>currentRetryAttempt</code> (contagem de tentativas já feitas).</td>\n</tr>\n<tr>\n<td><code>nodes[].manuallyRetried</code></td>\n<td><code>Boolean!</code></td>\n<td>Se <code>true</code>, este ciclo foi retentado manualmente (fora do fluxo automático).</td>\n</tr>\n<tr>\n<td><code>nodes[].manuallyRetriedByAccountId</code></td>\n<td><code>String</code></td>\n<td>Conta responsável pela retentativa manual, quando aplicável.</td>\n</tr>\n<tr>\n<td><code>nodes[].order</code></td>\n<td><code>Order</code></td>\n<td>Pedido gerado a partir deste ciclo. <code>null</code> até o ciclo ser processado com sucesso.</td>\n</tr>\n<tr>\n<td><code>nodes[].items[]</code></td>\n<td><code>[RecurringOrderCycleItem]!</code></td>\n<td>Itens deste ciclo: <code>productId</code>/<code>variantId</code>/<code>productKitId</code> e os códigos de ERP correspondentes (<code>productERPCode</code>, <code>variantERPCode</code>), <code>productKitItemsConfigurations</code> (configuração de cada componente, para itens do tipo kit), <code>catalogProduct</code> (dados do produto no catálogo), <code>quantity</code>, <code>status</code> (<code>CycleItemStatusEnum</code> — ver folder), <code>skipped</code>, <code>originalPrice</code> e <code>cyclePrice</code> (pode diferir do original quando há desconto aplicado ao ciclo).</td>\n</tr>\n<tr>\n<td><code>nodes[].pricingPolicy</code> / <code>frequency</code></td>\n<td><code>RecurringOrderPricingPolicy!</code> / <code>RecurringOrderFrequency!</code></td>\n<td>Política de preço e frequência vigentes <strong>neste ciclo</strong> — podem ter sido sobrescritas em relação à assinatura original, sem alterá-la. <code>frequency</code> inclui <code>_id</code>, <code>title</code>, <code>periodicity</code> (<code>DAY</code>/<code>WEEK</code>/<code>MONTH</code>) e <code>interval</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].discount</code></td>\n<td><code>RecurringOrderDiscountData</code></td>\n<td>Cupom de desconto aplicado a este ciclo especificamente. <code>null</code> se nenhum foi usado.</td>\n</tr>\n<tr>\n<td><code>nodes[].totalAmount</code></td>\n<td><code>Money!</code></td>\n<td>Valor total cobrado neste ciclo: <code>amount</code> (decimal), <code>currency</code>, <code>displayAmount</code> (já formatado).</td>\n</tr>\n<tr>\n<td><code>pageInfo</code> / <code>totalCount</code></td>\n<td><code>PageInfo!</code> / <code>Int!</code></td>\n<td>Metadados de paginação Relay — ver folder.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RECURRING_ORDER_NOT_FOUND_ERROR</code></td>\n<td><code>filters.recurringOrderId</code> não corresponde a nenhuma assinatura da loja autenticada (não existe ou pertence a outra loja).</td>\n<td>Confirme o <code>_id</code> usando o resultado de <code>shopRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha, mesmo aqui. Como <code>filters</code> é obrigatório, omiti-lo (ou omitir <code>filters.recurringOrderId</code>) resulta em um erro de validação do GraphQL com mensagem descritiva — que nem sempre carrega um <code>extensions.code</code> estável. Verifique sempre <code>message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>filters.recurringOrderId</code> é obrigatório</strong> — não existe uma forma de listar ciclos de todas as assinaturas de uma vez; cada chamada é sempre por uma assinatura.</li>\n<li><strong>Não há filtro por status de ciclo.</strong> O único filtro disponível é <code>recurringOrderId</code>. Para cenários como \"listar apenas os ciclos em erro de uma assinatura\", pagine o histórico completo (<code>first</code>/<code>after</code>) e filtre por <code>nodes[].status.value</code> no seu lado.</li>\n<li><strong><code>order</code> só aparece após o ciclo ser concluído com sucesso.</strong> Ciclos pendentes ou em erro trazem <code>order: null</code>.</li>\n<li><strong><code>error</code> só é preenchido em ciclos com problema.</strong> Para ciclos <code>PENDING</code>/<code>SUCCESS</code>, o campo vem <code>null</code>; use <code>error.value.type</code> para tratar programaticamente e <code>error.value.message</code> só para exibição/log.</li>\n<li><strong><code>pricingPolicy</code>, <code>frequency</code>, <code>items</code> e <code>discount</code> refletem o que valeu <em>para aquele ciclo</em>, não necessariamente a configuração atual da assinatura</strong> — um ciclo pode ter sido ajustado pontualmente sem alterar a assinatura original.</li>\n<li><strong>Ordenação hoje é fixa por <code>createdAt</code></strong> — o enum <code>RecurringOrderCyclesSortByField</code> só expõe esse valor.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b6cb6c11-972d-43ae-9552-08397741b945","name":"200 - shopRecurringOrderCycles","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  shopRecurringOrderCycles(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        completedAt\n        discount {\n          discountId\n          code\n        }\n        recurringOrderId\n        order {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        cycleIndex\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          skipped\n          status\n          quantity\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          cyclePrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        skipped\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        error {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        attemptingRetry\n        retryAttempt {\n          nextRetryDate\n          currentRetryAttempt\n        }\n        manuallyRetried\n        manuallyRetriedByAccountId\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      completedAt\n      discount {\n        discountId\n        code\n      }\n      recurringOrderId\n      order {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      cycleIndex\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        skipped\n        status\n        quantity\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        cyclePrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      skipped\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      error {\n        value {\n          type\n          message\n        }\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      attemptingRetry\n      retryAttempt {\n        nextRetryDate\n        currentRetryAttempt\n      }\n      manuallyRetried\n      manuallyRetriedByAccountId\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"recurringOrderId\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderCycles\n\n**Propósito:** Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) específica.\n**Quando usar:** Depois de localizar uma assinatura com `shopRecurringOrders` (ou já conhecendo seu `_id`), use esta query para inspecionar o que foi cobrado em cada ciclo, quais falharam e por quê, e o pedido (`order`) gerado por cada ciclo bem-sucedido.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada. O filtro exige o `_id` da assinatura (`recurringOrderId`); a Unbox confirma que essa assinatura pertence à loja autenticada antes de retornar qualquer ciclo — caso contrário, a operação falha (ver Erros).\n\n### Argumentos\n\n| Nome                       | Tipo                               | Obrigatório | Default     | Descrição                                                                                 |\n| -------------------------- | ---------------------------------- | ----------- | ----------- | ----------------------------------------------------------------------------------------- |\n| `filters`                  | `RecurringOrderCyclesFilterInput!` | Sim         | —           | Filtro da listagem. Obrigatório — não é possível listar ciclos sem informar a assinatura. |\n| `filters.recurringOrderId` | `String!`                          | Sim         | —           | `_id` da assinatura (retornado por `shopRecurringOrders`) cujos ciclos serão listados.    |\n| `after`                    | `String`                           | Não         | `null`      | Cursor Relay: retorna resultados após este cursor. Use com `first`.                       |\n| `before`                   | `String`                           | Não         | `null`      | Cursor Relay: retorna resultados antes deste cursor. Use com `last`.                      |\n| `first`                    | `Int`                              | Não         | —           | Quantidade máxima de resultados. Usado com `after` ou `offset`.                           |\n| `last`                     | `Int`                              | Não         | —           | Quantidade máxima de resultados. Usado com `before`.                                      |\n| `offset`                   | `Int`                              | Não         | —           | Retorna resultados a partir do N-ésimo item. Alternativa a `after` baseada em posição.    |\n| `sortOrder`                | `SortOrder`                        | Não         | `desc`      | Ordem de classificação: `asc` ou `desc`.                                                  |\n| `sortBy`                   | `RecurringOrderCyclesSortByField`  | Não         | `createdAt` | Campo de ordenação. Único valor disponível hoje: `createdAt`.                             |\n\n### Retorno\n\n`RecurringOrderCycleConnection!` — conexão Relay (ver paginação no folder). Cada `node` é um `RecurringOrderCycle`:\n\n| Propriedade                           | Tipo                                                        | Descrição                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| ------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `nodes[]._id`                         | `ID!`                                                       | Identificador do ciclo.                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| `nodes[].recurringOrderId`            | `String!`                                                   | `_id` da assinatura que originou este ciclo (mesmo valor enviado no filtro).                                                                                                                                                                                                                                                                                                                                                                          |\n| `nodes[].cycleIndex`                  | `Int!`                                                      | Posição deste ciclo na sequência da assinatura (1-based: o primeiro ciclo é `1`).                                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].createdAt` / `updatedAt`     | `AWSDateTime!`                                              | Datas de criação e última atualização do ciclo.                                                                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].completedAt`                 | `AWSDateTime`                                               | Data em que o ciclo foi concluído. `null` enquanto o ciclo ainda está pendente.                                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].status`                      | `RecurringOrderCycleStatus!`                                | Status do ciclo. `value` (`PENDING`, `SUCCESS`, `ERROR` ou `REVIEW_REQUIRED`) traz o status atual; `createdAt`/`createdBy`/`triggeredBy` descrevem quando e por quem essa transição ocorreu.                                                                                                                                                                                                                                                          |\n| `nodes[].status.history[]`            | `RecurringOrderCycleStatusHistory`                          | Histórico de mudanças de status, cada item com `value`, `createdAt`, `triggeredBy`.                                                                                                                                                                                                                                                                                                                                                                   |\n| `nodes[].skipped`                     | `Boolean!`                                                  | Se `true`, este ciclo foi pulado (não gerou cobrança nem pedido).                                                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].error`                       | `RecurringOrderErrors`                                      | Preenchido apenas quando `status` é `ERROR` ou `REVIEW_REQUIRED`. `error.value.type` traz o motivo (`RecurringOrderErrorTypeEnum`, ver folder) e `error.value.message` uma descrição legível; `error.history[]` guarda erros de tentativas anteriores.                                                                                                                                                                                                |\n| `nodes[].attemptingRetry`             | `Boolean!`                                                  | Se `true`, uma nova tentativa automática está em andamento para este ciclo.                                                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].retryAttempt`                | `RetryAttempt`                                              | Metadados da retentativa: `nextRetryDate` (próxima tentativa agendada) e `currentRetryAttempt` (contagem de tentativas já feitas).                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].manuallyRetried`             | `Boolean!`                                                  | Se `true`, este ciclo foi retentado manualmente (fora do fluxo automático).                                                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].manuallyRetriedByAccountId`  | `String`                                                    | Conta responsável pela retentativa manual, quando aplicável.                                                                                                                                                                                                                                                                                                                                                                                          |\n| `nodes[].order`                       | `Order`                                                     | Pedido gerado a partir deste ciclo. `null` até o ciclo ser processado com sucesso.                                                                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].items[]`                     | `[RecurringOrderCycleItem]!`                                | Itens deste ciclo: `productId`/`variantId`/`productKitId` e os códigos de ERP correspondentes (`productERPCode`, `variantERPCode`), `productKitItemsConfigurations` (configuração de cada componente, para itens do tipo kit), `catalogProduct` (dados do produto no catálogo), `quantity`, `status` (`CycleItemStatusEnum` — ver folder), `skipped`, `originalPrice` e `cyclePrice` (pode diferir do original quando há desconto aplicado ao ciclo). |\n| `nodes[].pricingPolicy` / `frequency` | `RecurringOrderPricingPolicy!` / `RecurringOrderFrequency!` | Política de preço e frequência vigentes **neste ciclo** — podem ter sido sobrescritas em relação à assinatura original, sem alterá-la. `frequency` inclui `_id`, `title`, `periodicity` (`DAY`/`WEEK`/`MONTH`) e `interval`.                                                                                                                                                                                                                          |\n| `nodes[].discount`                    | `RecurringOrderDiscountData`                                | Cupom de desconto aplicado a este ciclo especificamente. `null` se nenhum foi usado.                                                                                                                                                                                                                                                                                                                                                                  |\n| `nodes[].totalAmount`                 | `Money!`                                                    | Valor total cobrado neste ciclo: `amount` (decimal), `currency`, `displayAmount` (já formatado).                                                                                                                                                                                                                                                                                                                                                      |\n| `pageInfo` / `totalCount`             | `PageInfo!` / `Int!`                                        | Metadados de paginação Relay — ver folder.                                                                                                                                                                                                                                                                                                                                                                                                            |\n\n### Erros\n\n| Código                            | Condição                                                                                                                   | O que fazer                                                        |\n| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` | `filters.recurringOrderId` não corresponde a nenhuma assinatura da loja autenticada (não existe ou pertence a outra loja). | Confirme o `_id` usando o resultado de `shopRecurringOrders`.      |\n| `FORBIDDEN_ERROR`                 | `access_token` ausente, inválido ou expirado.                                                                              | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui. Como `filters` é obrigatório, omiti-lo (ou omitir `filters.recurringOrderId`) resulta em um erro de validação do GraphQL com mensagem descritiva — que nem sempre carrega um `extensions.code` estável. Verifique sempre `message`.\n\n### Notas\n\n- **`filters.recurringOrderId` é obrigatório** — não existe uma forma de listar ciclos de todas as assinaturas de uma vez; cada chamada é sempre por uma assinatura.\n- **Não há filtro por status de ciclo.** O único filtro disponível é `recurringOrderId`. Para cenários como \"listar apenas os ciclos em erro de uma assinatura\", pagine o histórico completo (`first`/`after`) e filtre por `nodes[].status.value` no seu lado.\n- **`order` só aparece após o ciclo ser concluído com sucesso.** Ciclos pendentes ou em erro trazem `order: null`.\n- **`error` só é preenchido em ciclos com problema.** Para ciclos `PENDING`/`SUCCESS`, o campo vem `null`; use `error.value.type` para tratar programaticamente e `error.value.message` só para exibição/log.\n- **`pricingPolicy`, `frequency`, `items` e `discount` refletem o que valeu _para aquele ciclo_, não necessariamente a configuração atual da assinatura** — um ciclo pode ter sido ajustado pontualmente sem alterar a assinatura original.\n- **Ordenação hoje é fixa por `createdAt`** — o enum `RecurringOrderCyclesSortByField` só expõe esse valor."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"shopRecurringOrderCycles\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"shopId\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"completedAt\": \"2025-01-15T10:00:00Z\",\n          \"recurringOrderId\": \"Example_String\",\n          \"cycleIndex\": 10,\n          \"skipped\": true,\n          \"attemptingRetry\": true,\n          \"manuallyRetried\": true,\n          \"manuallyRetriedByAccountId\": \"Example_String\"\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"6d7996ea-c1f1-4144-9af3-f58ade781045","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  shopRecurringOrderCycles(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        completedAt\n        discount {\n          discountId\n          code\n        }\n        recurringOrderId\n        order {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        cycleIndex\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          skipped\n          status\n          quantity\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          cyclePrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        skipped\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        error {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        attemptingRetry\n        retryAttempt {\n          nextRetryDate\n          currentRetryAttempt\n        }\n        manuallyRetried\n        manuallyRetriedByAccountId\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      completedAt\n      discount {\n        discountId\n        code\n      }\n      recurringOrderId\n      order {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      cycleIndex\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        skipped\n        status\n        quantity\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        cyclePrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      skipped\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      error {\n        value {\n          type\n          message\n        }\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      attemptingRetry\n      retryAttempt {\n        nextRetryDate\n        currentRetryAttempt\n      }\n      manuallyRetried\n      manuallyRetriedByAccountId\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"recurringOrderId\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderCycles\n\n**Propósito:** Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) específica.\n**Quando usar:** Depois de localizar uma assinatura com `shopRecurringOrders` (ou já conhecendo seu `_id`), use esta query para inspecionar o que foi cobrado em cada ciclo, quais falharam e por quê, e o pedido (`order`) gerado por cada ciclo bem-sucedido.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada. O filtro exige o `_id` da assinatura (`recurringOrderId`); a Unbox confirma que essa assinatura pertence à loja autenticada antes de retornar qualquer ciclo — caso contrário, a operação falha (ver Erros).\n\n### Argumentos\n\n| Nome                       | Tipo                               | Obrigatório | Default     | Descrição                                                                                 |\n| -------------------------- | ---------------------------------- | ----------- | ----------- | ----------------------------------------------------------------------------------------- |\n| `filters`                  | `RecurringOrderCyclesFilterInput!` | Sim         | —           | Filtro da listagem. Obrigatório — não é possível listar ciclos sem informar a assinatura. |\n| `filters.recurringOrderId` | `String!`                          | Sim         | —           | `_id` da assinatura (retornado por `shopRecurringOrders`) cujos ciclos serão listados.    |\n| `after`                    | `String`                           | Não         | `null`      | Cursor Relay: retorna resultados após este cursor. Use com `first`.                       |\n| `before`                   | `String`                           | Não         | `null`      | Cursor Relay: retorna resultados antes deste cursor. Use com `last`.                      |\n| `first`                    | `Int`                              | Não         | —           | Quantidade máxima de resultados. Usado com `after` ou `offset`.                           |\n| `last`                     | `Int`                              | Não         | —           | Quantidade máxima de resultados. Usado com `before`.                                      |\n| `offset`                   | `Int`                              | Não         | —           | Retorna resultados a partir do N-ésimo item. Alternativa a `after` baseada em posição.    |\n| `sortOrder`                | `SortOrder`                        | Não         | `desc`      | Ordem de classificação: `asc` ou `desc`.                                                  |\n| `sortBy`                   | `RecurringOrderCyclesSortByField`  | Não         | `createdAt` | Campo de ordenação. Único valor disponível hoje: `createdAt`.                             |\n\n### Retorno\n\n`RecurringOrderCycleConnection!` — conexão Relay (ver paginação no folder). Cada `node` é um `RecurringOrderCycle`:\n\n| Propriedade                           | Tipo                                                        | Descrição                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| ------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `nodes[]._id`                         | `ID!`                                                       | Identificador do ciclo.                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| `nodes[].recurringOrderId`            | `String!`                                                   | `_id` da assinatura que originou este ciclo (mesmo valor enviado no filtro).                                                                                                                                                                                                                                                                                                                                                                          |\n| `nodes[].cycleIndex`                  | `Int!`                                                      | Posição deste ciclo na sequência da assinatura (1-based: o primeiro ciclo é `1`).                                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].createdAt` / `updatedAt`     | `AWSDateTime!`                                              | Datas de criação e última atualização do ciclo.                                                                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].completedAt`                 | `AWSDateTime`                                               | Data em que o ciclo foi concluído. `null` enquanto o ciclo ainda está pendente.                                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].status`                      | `RecurringOrderCycleStatus!`                                | Status do ciclo. `value` (`PENDING`, `SUCCESS`, `ERROR` ou `REVIEW_REQUIRED`) traz o status atual; `createdAt`/`createdBy`/`triggeredBy` descrevem quando e por quem essa transição ocorreu.                                                                                                                                                                                                                                                          |\n| `nodes[].status.history[]`            | `RecurringOrderCycleStatusHistory`                          | Histórico de mudanças de status, cada item com `value`, `createdAt`, `triggeredBy`.                                                                                                                                                                                                                                                                                                                                                                   |\n| `nodes[].skipped`                     | `Boolean!`                                                  | Se `true`, este ciclo foi pulado (não gerou cobrança nem pedido).                                                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].error`                       | `RecurringOrderErrors`                                      | Preenchido apenas quando `status` é `ERROR` ou `REVIEW_REQUIRED`. `error.value.type` traz o motivo (`RecurringOrderErrorTypeEnum`, ver folder) e `error.value.message` uma descrição legível; `error.history[]` guarda erros de tentativas anteriores.                                                                                                                                                                                                |\n| `nodes[].attemptingRetry`             | `Boolean!`                                                  | Se `true`, uma nova tentativa automática está em andamento para este ciclo.                                                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].retryAttempt`                | `RetryAttempt`                                              | Metadados da retentativa: `nextRetryDate` (próxima tentativa agendada) e `currentRetryAttempt` (contagem de tentativas já feitas).                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].manuallyRetried`             | `Boolean!`                                                  | Se `true`, este ciclo foi retentado manualmente (fora do fluxo automático).                                                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].manuallyRetriedByAccountId`  | `String`                                                    | Conta responsável pela retentativa manual, quando aplicável.                                                                                                                                                                                                                                                                                                                                                                                          |\n| `nodes[].order`                       | `Order`                                                     | Pedido gerado a partir deste ciclo. `null` até o ciclo ser processado com sucesso.                                                                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].items[]`                     | `[RecurringOrderCycleItem]!`                                | Itens deste ciclo: `productId`/`variantId`/`productKitId` e os códigos de ERP correspondentes (`productERPCode`, `variantERPCode`), `productKitItemsConfigurations` (configuração de cada componente, para itens do tipo kit), `catalogProduct` (dados do produto no catálogo), `quantity`, `status` (`CycleItemStatusEnum` — ver folder), `skipped`, `originalPrice` e `cyclePrice` (pode diferir do original quando há desconto aplicado ao ciclo). |\n| `nodes[].pricingPolicy` / `frequency` | `RecurringOrderPricingPolicy!` / `RecurringOrderFrequency!` | Política de preço e frequência vigentes **neste ciclo** — podem ter sido sobrescritas em relação à assinatura original, sem alterá-la. `frequency` inclui `_id`, `title`, `periodicity` (`DAY`/`WEEK`/`MONTH`) e `interval`.                                                                                                                                                                                                                          |\n| `nodes[].discount`                    | `RecurringOrderDiscountData`                                | Cupom de desconto aplicado a este ciclo especificamente. `null` se nenhum foi usado.                                                                                                                                                                                                                                                                                                                                                                  |\n| `nodes[].totalAmount`                 | `Money!`                                                    | Valor total cobrado neste ciclo: `amount` (decimal), `currency`, `displayAmount` (já formatado).                                                                                                                                                                                                                                                                                                                                                      |\n| `pageInfo` / `totalCount`             | `PageInfo!` / `Int!`                                        | Metadados de paginação Relay — ver folder.                                                                                                                                                                                                                                                                                                                                                                                                            |\n\n### Erros\n\n| Código                            | Condição                                                                                                                   | O que fazer                                                        |\n| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` | `filters.recurringOrderId` não corresponde a nenhuma assinatura da loja autenticada (não existe ou pertence a outra loja). | Confirme o `_id` usando o resultado de `shopRecurringOrders`.      |\n| `FORBIDDEN_ERROR`                 | `access_token` ausente, inválido ou expirado.                                                                              | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui. Como `filters` é obrigatório, omiti-lo (ou omitir `filters.recurringOrderId`) resulta em um erro de validação do GraphQL com mensagem descritiva — que nem sempre carrega um `extensions.code` estável. Verifique sempre `message`.\n\n### Notas\n\n- **`filters.recurringOrderId` é obrigatório** — não existe uma forma de listar ciclos de todas as assinaturas de uma vez; cada chamada é sempre por uma assinatura.\n- **Não há filtro por status de ciclo.** O único filtro disponível é `recurringOrderId`. Para cenários como \"listar apenas os ciclos em erro de uma assinatura\", pagine o histórico completo (`first`/`after`) e filtre por `nodes[].status.value` no seu lado.\n- **`order` só aparece após o ciclo ser concluído com sucesso.** Ciclos pendentes ou em erro trazem `order: null`.\n- **`error` só é preenchido em ciclos com problema.** Para ciclos `PENDING`/`SUCCESS`, o campo vem `null`; use `error.value.type` para tratar programaticamente e `error.value.message` só para exibição/log.\n- **`pricingPolicy`, `frequency`, `items` e `discount` refletem o que valeu _para aquele ciclo_, não necessariamente a configuração atual da assinatura** — um ciclo pode ter sido ajustado pontualmente sem alterar a assinatura original.\n- **Ordenação hoje é fixa por `createdAt`** — o enum `RecurringOrderCyclesSortByField` só expõe esse valor."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"d7add913-a003-4311-804a-a30bfe1cbaf3","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  shopRecurringOrderCycles(filters: $filters, after: $after, before: $before, first: $first, last: $last, offset: $offset, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        completedAt\n        discount {\n          discountId\n          code\n        }\n        recurringOrderId\n        order {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        cycleIndex\n        items {\n          catalogProduct {\n            _id\n            erpCode\n            barcode\n            createdAt\n            description\n            height\n            isDeleted\n            isVisible\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metaDescription\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            originCountry\n            pageTitle\n            parcel {\n              containers\n              distanceUnit\n              height\n              length\n              massUnit\n              weight\n              width\n            }\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            productId\n            type\n            productType\n            recurrenceAllowed\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            slug\n            socialMetadata {\n              message\n              service\n            }\n            supportedFulfillmentTypes\n            title\n            updatedAt\n            variants {\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              quantity\n              sku\n              title\n              updatedAt\n              variantId\n              productId\n              productERPCode\n              videoUrls\n              weight\n              width\n              canBackorder\n              inventoryAvailableToSell\n              inventoryInStock\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              taxDescription\n              imageUrls\n            }\n            vendor\n            sortIndex\n            videoUrls\n            weight\n            width\n            additionalInformation\n            measurementsInformation\n            group {\n              label\n            }\n            requiredPicksPerGroup\n            unitPriceLabel\n            titleLabel\n            highlightLabel\n            kitGroupDescription\n            unitPriceFactor\n            relatedInfo {\n              title\n              highlightLabel\n              showUnitPrice\n            }\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            pricingPerUnit {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n              compareAtPrice\n              displayCompareAtPrice\n            }\n            tagIds\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n            imageUrls\n          }\n          productERPCode\n          productId\n          variantERPCode\n          variantId\n          productKitId\n          productKitItemsConfigurations {\n            inventoryAvailableToSell\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            quantity\n            variantTitle\n            productId\n            productVariantId\n            productErpCode\n            variantErpCode\n          }\n          skipped\n          status\n          quantity\n          originalPrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          cyclePrice {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        pricingPolicy {\n          type\n          value\n        }\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n        }\n        skipped\n        status {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        error {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n          history {\n            value {\n              type\n              message\n            }\n            createdAt\n            createdBy\n            triggeredBy\n          }\n        }\n        attemptingRetry\n        retryAttempt {\n          nextRetryDate\n          currentRetryAttempt\n        }\n        manuallyRetried\n        manuallyRetriedByAccountId\n        totalAmount {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n    }\n    nodes {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      completedAt\n      discount {\n        discountId\n        code\n      }\n      recurringOrderId\n      order {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n        }\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      cycleIndex\n      items {\n        catalogProduct {\n          _id\n          erpCode\n          barcode\n          createdAt\n          description\n          height\n          isDeleted\n          isVisible\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metaDescription\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          originCountry\n          pageTitle\n          parcel {\n            containers\n            distanceUnit\n            height\n            length\n            massUnit\n            weight\n            width\n          }\n          primaryImage {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          productId\n          type\n          productType\n          recurrenceAllowed\n          shop {\n            shopSales {\n              _id\n              code\n              description\n              discountMethod\n              label\n              enabled\n              createdAt\n              updatedAt\n            }\n            _id\n            brandAssets {\n              navbarBrandImageId\n            }\n            defaultParcelSize {\n              height\n              length\n              weight\n              width\n            }\n            description\n            isCompany\n            storefrontTemplate {\n              _id\n              shopId\n              createdAt\n              updatedAt\n            }\n            keywords\n            name\n            recurringOrdersPolicy {\n              _id\n              shopId\n              enabled\n              createdAt\n              updatedAt\n              minDaysIntervalBetweenCycles\n              keepOrderPricingPolicy\n              termsAndConditions\n            }\n            shopLogoUrls {\n              primaryShopLogoUrl\n            }\n            social {\n              instagramUrl\n              facebookUrl\n            }\n            slug\n            storefrontUrls {\n              storefrontAccountProfileUrl\n              storefrontHomeUrl\n              storefrontLoginUrl\n              storefrontOrderUrl\n              storefrontOrdersUrl\n            }\n            storeTemplateUrl\n            providers {\n              logistics\n              payment\n              products\n              checkout\n              invoice\n              erp\n              marketing\n            }\n            acceptsBoleto\n            acceptsCreditCard\n            createdAt\n            domains\n            trialRemainingDays\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              threeDSActive\n              unboxPayProviders\n            }\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          sku\n          slug\n          socialMetadata {\n            message\n            service\n          }\n          supportedFulfillmentTypes\n          title\n          updatedAt\n          variants {\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            quantity\n            primaryImage {\n              _id\n              priority\n              productId\n              variantId\n            }\n            shop {\n              _id\n              description\n              isCompany\n              keywords\n              name\n              slug\n              storeTemplateUrl\n              acceptsBoleto\n              acceptsCreditCard\n              createdAt\n              domains\n              trialRemainingDays\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            sku\n            title\n            updatedAt\n            variantId\n            productId\n            productERPCode\n            videoUrls\n            weight\n            width\n            canBackorder\n            inventoryAvailableToSell\n            inventoryInStock\n            isBackorder\n            isLowQuantity\n            isSoldOut\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            pricingOnRecurrence {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            isTaxable\n            taxCode\n            taxDescription\n            imageUrls\n          }\n          vendor\n          sortIndex\n          videoUrls\n          weight\n          width\n          additionalInformation\n          measurementsInformation\n          group {\n            label\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              slug\n              imageUrls\n            }\n          }\n          requiredPicksPerGroup\n          unitPriceLabel\n          titleLabel\n          highlightLabel\n          kitGroupDescription\n          unitPriceFactor\n          relatedInfo {\n            title\n            highlightLabel\n            showUnitPrice\n          }\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          pricing {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingOnRecurrence {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          pricingPerUnit {\n            minCompareAtPrice {\n              amount\n              displayAmount\n            }\n            maxCompareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n            compareAtPrice\n            displayCompareAtPrice\n          }\n          tagIds\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              erpCode\n              createdAt\n              displayTitle\n              description\n              featuredProductIds\n              isDeleted\n              isTopLevel\n              isVisible\n              name\n              position\n              publishedUrl\n              slug\n              subTagIds\n              updatedAt\n              subTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n          }\n        }\n          imageUrls\n        }\n        productERPCode\n        productId\n        variantERPCode\n        variantId\n        productKitId\n        productKitItemsConfigurations {\n          inventoryAvailableToSell\n          isBackorder\n          isLowQuantity\n          isSoldOut\n          quantity\n          variantTitle\n          productId\n          productVariantId\n          productErpCode\n          variantErpCode\n        }\n        skipped\n        status\n        quantity\n        originalPrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n        cyclePrice {\n          amount\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          displayAmount\n        }\n      }\n      pricingPolicy {\n        type\n        value\n      }\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n      }\n      skipped\n      status {\n        value\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      error {\n        value {\n          type\n          message\n        }\n        createdAt\n        createdBy\n        triggeredBy\n        history {\n          value {\n            type\n            message\n          }\n          createdAt\n          createdBy\n          triggeredBy\n        }\n      }\n      attemptingRetry\n      retryAttempt {\n        nextRetryDate\n        currentRetryAttempt\n      }\n      manuallyRetried\n      manuallyRetriedByAccountId\n      totalAmount {\n        amount\n        currency {\n          _id\n          code\n          decimal\n          format\n          rate\n          scale\n          symbol\n          thousand\n        }\n        displayAmount\n      }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"recurringOrderId\": \"Example_String\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"createdAt\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderCycles\n\n**Propósito:** Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) específica.\n**Quando usar:** Depois de localizar uma assinatura com `shopRecurringOrders` (ou já conhecendo seu `_id`), use esta query para inspecionar o que foi cobrado em cada ciclo, quais falharam e por quê, e o pedido (`order`) gerado por cada ciclo bem-sucedido.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada. O filtro exige o `_id` da assinatura (`recurringOrderId`); a Unbox confirma que essa assinatura pertence à loja autenticada antes de retornar qualquer ciclo — caso contrário, a operação falha (ver Erros).\n\n### Argumentos\n\n| Nome                       | Tipo                               | Obrigatório | Default     | Descrição                                                                                 |\n| -------------------------- | ---------------------------------- | ----------- | ----------- | ----------------------------------------------------------------------------------------- |\n| `filters`                  | `RecurringOrderCyclesFilterInput!` | Sim         | —           | Filtro da listagem. Obrigatório — não é possível listar ciclos sem informar a assinatura. |\n| `filters.recurringOrderId` | `String!`                          | Sim         | —           | `_id` da assinatura (retornado por `shopRecurringOrders`) cujos ciclos serão listados.    |\n| `after`                    | `String`                           | Não         | `null`      | Cursor Relay: retorna resultados após este cursor. Use com `first`.                       |\n| `before`                   | `String`                           | Não         | `null`      | Cursor Relay: retorna resultados antes deste cursor. Use com `last`.                      |\n| `first`                    | `Int`                              | Não         | —           | Quantidade máxima de resultados. Usado com `after` ou `offset`.                           |\n| `last`                     | `Int`                              | Não         | —           | Quantidade máxima de resultados. Usado com `before`.                                      |\n| `offset`                   | `Int`                              | Não         | —           | Retorna resultados a partir do N-ésimo item. Alternativa a `after` baseada em posição.    |\n| `sortOrder`                | `SortOrder`                        | Não         | `desc`      | Ordem de classificação: `asc` ou `desc`.                                                  |\n| `sortBy`                   | `RecurringOrderCyclesSortByField`  | Não         | `createdAt` | Campo de ordenação. Único valor disponível hoje: `createdAt`.                             |\n\n### Retorno\n\n`RecurringOrderCycleConnection!` — conexão Relay (ver paginação no folder). Cada `node` é um `RecurringOrderCycle`:\n\n| Propriedade                           | Tipo                                                        | Descrição                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| ------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `nodes[]._id`                         | `ID!`                                                       | Identificador do ciclo.                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| `nodes[].recurringOrderId`            | `String!`                                                   | `_id` da assinatura que originou este ciclo (mesmo valor enviado no filtro).                                                                                                                                                                                                                                                                                                                                                                          |\n| `nodes[].cycleIndex`                  | `Int!`                                                      | Posição deste ciclo na sequência da assinatura (1-based: o primeiro ciclo é `1`).                                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].createdAt` / `updatedAt`     | `AWSDateTime!`                                              | Datas de criação e última atualização do ciclo.                                                                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].completedAt`                 | `AWSDateTime`                                               | Data em que o ciclo foi concluído. `null` enquanto o ciclo ainda está pendente.                                                                                                                                                                                                                                                                                                                                                                       |\n| `nodes[].status`                      | `RecurringOrderCycleStatus!`                                | Status do ciclo. `value` (`PENDING`, `SUCCESS`, `ERROR` ou `REVIEW_REQUIRED`) traz o status atual; `createdAt`/`createdBy`/`triggeredBy` descrevem quando e por quem essa transição ocorreu.                                                                                                                                                                                                                                                          |\n| `nodes[].status.history[]`            | `RecurringOrderCycleStatusHistory`                          | Histórico de mudanças de status, cada item com `value`, `createdAt`, `triggeredBy`.                                                                                                                                                                                                                                                                                                                                                                   |\n| `nodes[].skipped`                     | `Boolean!`                                                  | Se `true`, este ciclo foi pulado (não gerou cobrança nem pedido).                                                                                                                                                                                                                                                                                                                                                                                     |\n| `nodes[].error`                       | `RecurringOrderErrors`                                      | Preenchido apenas quando `status` é `ERROR` ou `REVIEW_REQUIRED`. `error.value.type` traz o motivo (`RecurringOrderErrorTypeEnum`, ver folder) e `error.value.message` uma descrição legível; `error.history[]` guarda erros de tentativas anteriores.                                                                                                                                                                                                |\n| `nodes[].attemptingRetry`             | `Boolean!`                                                  | Se `true`, uma nova tentativa automática está em andamento para este ciclo.                                                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].retryAttempt`                | `RetryAttempt`                                              | Metadados da retentativa: `nextRetryDate` (próxima tentativa agendada) e `currentRetryAttempt` (contagem de tentativas já feitas).                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].manuallyRetried`             | `Boolean!`                                                  | Se `true`, este ciclo foi retentado manualmente (fora do fluxo automático).                                                                                                                                                                                                                                                                                                                                                                           |\n| `nodes[].manuallyRetriedByAccountId`  | `String`                                                    | Conta responsável pela retentativa manual, quando aplicável.                                                                                                                                                                                                                                                                                                                                                                                          |\n| `nodes[].order`                       | `Order`                                                     | Pedido gerado a partir deste ciclo. `null` até o ciclo ser processado com sucesso.                                                                                                                                                                                                                                                                                                                                                                    |\n| `nodes[].items[]`                     | `[RecurringOrderCycleItem]!`                                | Itens deste ciclo: `productId`/`variantId`/`productKitId` e os códigos de ERP correspondentes (`productERPCode`, `variantERPCode`), `productKitItemsConfigurations` (configuração de cada componente, para itens do tipo kit), `catalogProduct` (dados do produto no catálogo), `quantity`, `status` (`CycleItemStatusEnum` — ver folder), `skipped`, `originalPrice` e `cyclePrice` (pode diferir do original quando há desconto aplicado ao ciclo). |\n| `nodes[].pricingPolicy` / `frequency` | `RecurringOrderPricingPolicy!` / `RecurringOrderFrequency!` | Política de preço e frequência vigentes **neste ciclo** — podem ter sido sobrescritas em relação à assinatura original, sem alterá-la. `frequency` inclui `_id`, `title`, `periodicity` (`DAY`/`WEEK`/`MONTH`) e `interval`.                                                                                                                                                                                                                          |\n| `nodes[].discount`                    | `RecurringOrderDiscountData`                                | Cupom de desconto aplicado a este ciclo especificamente. `null` se nenhum foi usado.                                                                                                                                                                                                                                                                                                                                                                  |\n| `nodes[].totalAmount`                 | `Money!`                                                    | Valor total cobrado neste ciclo: `amount` (decimal), `currency`, `displayAmount` (já formatado).                                                                                                                                                                                                                                                                                                                                                      |\n| `pageInfo` / `totalCount`             | `PageInfo!` / `Int!`                                        | Metadados de paginação Relay — ver folder.                                                                                                                                                                                                                                                                                                                                                                                                            |\n\n### Erros\n\n| Código                            | Condição                                                                                                                   | O que fazer                                                        |\n| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` | `filters.recurringOrderId` não corresponde a nenhuma assinatura da loja autenticada (não existe ou pertence a outra loja). | Confirme o `_id` usando o resultado de `shopRecurringOrders`.      |\n| `FORBIDDEN_ERROR`                 | `access_token` ausente, inválido ou expirado.                                                                              | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui. Como `filters` é obrigatório, omiti-lo (ou omitir `filters.recurringOrderId`) resulta em um erro de validação do GraphQL com mensagem descritiva — que nem sempre carrega um `extensions.code` estável. Verifique sempre `message`.\n\n### Notas\n\n- **`filters.recurringOrderId` é obrigatório** — não existe uma forma de listar ciclos de todas as assinaturas de uma vez; cada chamada é sempre por uma assinatura.\n- **Não há filtro por status de ciclo.** O único filtro disponível é `recurringOrderId`. Para cenários como \"listar apenas os ciclos em erro de uma assinatura\", pagine o histórico completo (`first`/`after`) e filtre por `nodes[].status.value` no seu lado.\n- **`order` só aparece após o ciclo ser concluído com sucesso.** Ciclos pendentes ou em erro trazem `order: null`.\n- **`error` só é preenchido em ciclos com problema.** Para ciclos `PENDING`/`SUCCESS`, o campo vem `null`; use `error.value.type` para tratar programaticamente e `error.value.message` só para exibição/log.\n- **`pricingPolicy`, `frequency`, `items` e `discount` refletem o que valeu _para aquele ciclo_, não necessariamente a configuração atual da assinatura** — um ciclo pode ter sido ajustado pontualmente sem alterar a assinatura original.\n- **Ordenação hoje é fixa por `createdAt`** — o enum `RecurringOrderCyclesSortByField` só expõe esse valor."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"0278aab7-40d4-581e-b3d7-ef1cfa2769dd"}],"id":"9876d450-88dd-4318-a8f8-3750122fd540","_postman_id":"9876d450-88dd-4318-a8f8-3750122fd540","description":""}],"id":"65a2ab83-7150-4d0a-81c3-9752e0c94707","description":"<h1 id=\"assinaturas-recorrentes\">Assinaturas Recorrentes</h1>\n<p>Consultas somente-leitura para acompanhar as assinaturas (recurring orders) de clientes na sua loja e o histórico de ciclos gerados por cada uma.</p>\n<h2 id=\"conceitos\">Conceitos</h2>\n<ul>\n<li><strong>Recurring Order</strong> (assinatura): o \"contrato\" de recorrência entre um cliente e a loja. Define os itens comprados, a frequência de recorrência, a política de preço/desconto aplicada e o cartão de crédito usado para cobrança. Permanece ativa até ser pausada, cancelada ou entrar em erro.</li>\n<li><strong>Cycle</strong> (ciclo): cada execução periódica gerada a partir de uma Recurring Order, no intervalo definido pela sua frequência. Um ciclo herda a configuração da Recurring Order no momento em que é criado, mas pode ser ajustado pontualmente (ex.: itens ou preço só daquele ciclo) sem alterar a assinatura original. Quando processado com sucesso, o ciclo gera um pedido (<code>order</code>); quando falha, carrega o motivo do erro e pode ser retentado.</li>\n</ul>\n<p>Na prática: <code>shopRecurringOrders</code> lista as assinaturas da loja; <code>shopRecurringOrderCycles</code> detalha o histórico de execuções de <strong>uma</strong> assinatura específica, identificada pelo seu <code>_id</code>.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum/Tipo</th>\n<th>Valores</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RecurringOrderStatusEnum</code></td>\n<td><code>ACTIVE</code>, <code>CANCELED</code>, <code>PAUSED</code>, <code>ERROR</code></td>\n<td>Status da assinatura como um todo.</td>\n</tr>\n<tr>\n<td><code>RecurringOrderCycleStatusEnum</code></td>\n<td><code>PENDING</code>, <code>SUCCESS</code>, <code>ERROR</code>, <code>REVIEW_REQUIRED</code></td>\n<td>Status de um ciclo individual.</td>\n</tr>\n<tr>\n<td><code>PeriodicityEnum</code></td>\n<td><code>DAY</code>, <code>WEEK</code>, <code>MONTH</code></td>\n<td>Unidade de tempo da frequência de recorrência, combinada com um <code>interval</code> numérico (ex.: <code>interval: 2</code> + <code>periodicity: WEEK</code> = a cada duas semanas).</td>\n</tr>\n<tr>\n<td><code>PricingTypeEnum</code></td>\n<td><code>PERCENTAGE_OFF</code>, <code>AMOUNT_OFF</code>, <code>NONE</code></td>\n<td>Tipo de desconto aplicado sobre o preço padrão dos itens em cada ciclo.</td>\n</tr>\n<tr>\n<td><code>CycleItemStatusEnum</code></td>\n<td><code>AVAILABLE</code>, <code>MISSING</code>, <code>OUT_OF_STOCK</code>, <code>NOT_ALLOWED</code></td>\n<td>Disponibilidade de cada item dentro de um ciclo no momento em que ele foi processado.</td>\n</tr>\n<tr>\n<td><code>RecurringOrderErrorTypeEnum</code></td>\n<td><code>ADDRESS_BOOK_ERROR</code>, <code>NO_FULFILLMENT_OPTIONS</code>, <code>PAYMENT_ERROR</code>, <code>ITEM_ERROR</code>, <code>NO_AVAILABLE_ITEMS</code>, <code>CUSTOMER_ACCOUNT_ERROR</code>, <code>UNBOX_PAY_CUSTOMER_ERROR</code>, <code>UNEXPECTED_ERROR</code>, <code>CREATE_CART_ERROR</code>, <code>PLACE_ORDER_ERROR</code></td>\n<td>Motivo pelo qual o processamento de um ciclo falhou, exposto no campo <code>error</code> do ciclo.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"paginação-relay\">Paginação (Relay)</h2>\n<p>As duas queries deste grupo retornam uma conexão no padrão Relay: <code>nodes</code> (array com os itens da página atual), <code>edges</code> (cada um com <code>cursor</code> + <code>node</code>), <code>pageInfo</code> (<code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>) e <code>totalCount</code>. Use <code>first</code>/<code>after</code> para paginar para frente e <code>last</code>/<code>before</code> para paginar para trás; <code>offset</code> é uma alternativa a <code>after</code> baseada em posição numérica. <code>sortOrder</code> (<code>asc</code>/<code>desc</code>, padrão <code>desc</code>) e <code>sortBy</code> controlam a ordenação — hoje ambas as queries só oferecem <code>createdAt</code> como campo de ordenação.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong><code>shopRecurringOrders</code> lista todas as assinaturas da loja; <code>shopRecurringOrderCycles</code> exige uma assinatura específica.</strong> O filtro de <code>shopRecurringOrderCycles</code> é obrigatório e recebe o <code>_id</code> da Recurring Order — não existe forma de listar ciclos de todas as assinaturas em uma única chamada.</li>\n<li><strong>Fluxo típico:</strong> chame <code>shopRecurringOrders</code> para localizar a assinatura (e obter seu <code>_id</code>), depois <code>shopRecurringOrderCycles</code> para inspecionar o histórico completo de cobranças/execuções dela.</li>\n<li><strong>A assinatura sempre traz um resumo dos ciclos embutido</strong> (<code>cyclesInformation</code>: contagem, próxima/última data de ciclo e o ciclo atual). Para o histórico completo, item a item, use <code>shopRecurringOrderCycles</code>.</li>\n<li><strong>Um ciclo só tem <code>error</code> preenchido quando falha</strong> (status <code>ERROR</code> ou <code>REVIEW_REQUIRED</code>); ciclos <code>PENDING</code>/<code>SUCCESS</code> trazem <code>error: null</code>.</li>\n<li><strong>Ownership:</strong> a assinatura consultada em <code>shopRecurringOrderCycles</code> precisa pertencer à loja autenticada — passar o <code>_id</code> de uma assinatura de outra loja resulta em erro (ver a página da operação).</li>\n</ul>\n","_postman_id":"65a2ab83-7150-4d0a-81c3-9752e0c94707"},{"name":"Settings","item":[{"name":"Query","item":[{"name":"[Query] shopSettings","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns shopSettings data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"shopSettings\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"shopSettings returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.shopSettings;","    ","    if (data !== null) {","        if (data.tresCliques !== undefined && data.tresCliques !== null) {","            pm.expect(data.tresCliques).to.be.an(\"object\");","        }","        if (data.showOutOfStockCatalogs !== undefined && data.showOutOfStockCatalogs !== null) {","            pm.expect(typeof data.showOutOfStockCatalogs).to.equal(\"boolean\");","        }","        if (data.loginWithCustomDomain !== undefined && data.loginWithCustomDomain !== null) {","            pm.expect(typeof data.loginWithCustomDomain).to.equal(\"boolean\");","        }","        if (data.discountPerCart !== undefined && data.discountPerCart !== null) {","            pm.expect(typeof data.discountPerCart).to.equal(\"boolean\");","        }","        if (data.intelipostProductsNature !== undefined && data.intelipostProductsNature !== null) {","            pm.expect(typeof data.intelipostProductsNature).to.equal(\"string\");","        }","        if (data.intelipostRecurrentProductCategory !== undefined && data.intelipostRecurrentProductCategory !== null) {","            pm.expect(typeof data.intelipostRecurrentProductCategory).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"canSellVariantWithoutInventory\");","        if (data.canSellVariantWithoutInventory !== undefined && data.canSellVariantWithoutInventory !== null) {","            pm.expect(typeof data.canSellVariantWithoutInventory).to.equal(\"boolean\");","        }","        if (data.saveShippingLabelToStorage !== undefined && data.saveShippingLabelToStorage !== null) {","            pm.expect(typeof data.saveShippingLabelToStorage).to.equal(\"boolean\");","        }","        pm.expect(data).to.have.property(\"shouldNavigationTreeItemsBeAdminOnly\");","        if (data.shouldNavigationTreeItemsBeAdminOnly !== undefined && data.shouldNavigationTreeItemsBeAdminOnly !== null) {","            pm.expect(typeof data.shouldNavigationTreeItemsBeAdminOnly).to.equal(\"boolean\");","        }","        pm.expect(data).to.have.property(\"shouldNavigationTreeItemsBePubliclyVisible\");","        if (data.shouldNavigationTreeItemsBePubliclyVisible !== undefined && data.shouldNavigationTreeItemsBePubliclyVisible !== null) {","            pm.expect(typeof data.shouldNavigationTreeItemsBePubliclyVisible).to.equal(\"boolean\");","        }","    }","});"]}}],"id":"1e5582ff-2d95-52ac-9426-032f8ff5b73d","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopSettings {\n  shopSettings {\n    tresCliques {\n      callbackUrl\n      callbackKey\n    }\n    showOutOfStockCatalogs\n    loginWithCustomDomain\n    discountPerCart\n    intelipostProductsNature\n    intelipostRecurrentProductCategory\n    canSellVariantWithoutInventory\n    saveShippingLabelToStorage\n    shouldNavigationTreeItemsBeAdminOnly\n    shouldNavigationTreeItemsBePubliclyVisible\n    shouldNavigationTreeItemsBeSecondaryNavOnly\n    enableFraudPrevention\n    generateInvoice\n    generateInvoiceOnPaymentApproval\n    allowLegalPersonSales\n    maxInvoiceRetryAttempts\n    invoiceIssueAttemptsDelayInMinutes\n    allowAnonymousRecurringOrders\n    doNotUse\n    isShippingRatesFulfillmentEnabled\n    shopTrialPeriod\n    createdAt\n    updatedAt\n    defaultTaxCode\n    fallbackTaxServiceName\n    primaryTaxServiceName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"shopsettings\">shopSettings</h2>\n<p><strong>Propósito:</strong> Retorna as configurações operacionais da sua loja — faturamento/nota fiscal, impostos, estoque, assinaturas, navegação e a integração de callback do External Checkout (<code>tresCliques</code>).\n<strong>Quando usar:</strong> Consulte antes de operar o External Checkout (<code>createExternalCheckout</code>) para confirmar o callback de status, ou sempre que precisar ler a configuração operacional da loja. Para identidade/branding/tema, use <code>shopBySlug</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token de <code>signIn</code>). A loja é resolvida a partir da sua conta autenticada — <strong>não envie nenhum argumento de loja</strong>, esta operação não recebe argumentos.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum. <code>shopSettings</code> não recebe argumentos — a loja é determinada pela sua autenticação.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>ShopSettings!</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tresCliques</code></td>\n<td><code>TresCliquesSettings</code></td>\n<td>Configuração de callback do External Checkout. Sempre presente na resposta — se ainda não configurado, vem com os campos abaixo como string vazia (<code>\"\"</code>), nunca <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>tresCliques.callbackUrl</code></td>\n<td><code>String</code></td>\n<td>URL para onde a Unbox envia atualizações de status de pedidos criados via <code>createExternalCheckout</code>. <code>\"\"</code> se ainda não configurado.</td>\n</tr>\n<tr>\n<td><code>tresCliques.callbackKey</code></td>\n<td><code>String</code></td>\n<td>Chave usada para assinar as notificações enviadas a <code>callbackUrl</code>. <code>\"\"</code> se ainda não configurado.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Além de <code>tresCliques</code>, a resposta traz flags operacionais de negócio, entre elas:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>generateInvoice</code>, <code>generateInvoiceOnPaymentApproval</code></td>\n<td><code>Boolean</code></td>\n<td>Se e quando a nota fiscal é emitida automaticamente.</td>\n</tr>\n<tr>\n<td><code>enableFraudPrevention</code></td>\n<td><code>Boolean</code></td>\n<td>Prevenção de fraude ativa.</td>\n</tr>\n<tr>\n<td><code>defaultTaxCode</code>, <code>primaryTaxServiceName</code>, <code>fallbackTaxServiceName</code></td>\n<td><code>String</code></td>\n<td>Configuração fiscal/tributária.</td>\n</tr>\n<tr>\n<td><code>allowLegalPersonSales</code></td>\n<td><code>Boolean</code></td>\n<td>Permite venda a pessoa jurídica.</td>\n</tr>\n<tr>\n<td><code>canSellVariantWithoutInventory</code></td>\n<td><code>Boolean</code></td>\n<td>Permite vender variante sem estoque.</td>\n</tr>\n<tr>\n<td><code>showOutOfStockCatalogs</code></td>\n<td><code>Boolean</code></td>\n<td>Exibe itens esgotados no catálogo.</td>\n</tr>\n<tr>\n<td><code>allowAnonymousRecurringOrders</code></td>\n<td><code>Boolean</code></td>\n<td>Permite assinaturas de comprador anônimo.</td>\n</tr>\n<tr>\n<td><code>discountPerCart</code></td>\n<td><code>Boolean</code></td>\n<td>Regra de desconto por carrinho.</td>\n</tr>\n<tr>\n<td><code>shouldNavigationTreeItemsBe*</code></td>\n<td><code>Boolean</code></td>\n<td>Visibilidade dos itens da árvore de navegação (admin/público/secundário).</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Credenciais de gateways de pagamento e integrações (Pagar.me, Malga, Zoop, Bling, Omie, Intelipost, etc.) <strong>não</strong> são retornadas por esta operação — são omitidas por segurança. <code>tresCliques.callbackKey</code> é a única chave presente, por ser a sua própria chave de assinatura do External Checkout.</p>\n</blockquote>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Somente leitura.</strong> Esta API não expõe uma mutation para alterar <code>ShopSettings</code>; a configuração de <code>tresCliques</code> é feita pelo seu contato Unbox durante o onboarding.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"48851a9a-8981-46cf-a5d6-251c8b7fb446","name":"200 - shopSettings","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopSettings {\n  shopSettings {\n    tresCliques {\n      callbackUrl\n      callbackKey\n    }\n    showOutOfStockCatalogs\n    loginWithCustomDomain\n    discountPerCart\n    intelipostProductsNature\n    intelipostRecurrentProductCategory\n    canSellVariantWithoutInventory\n    saveShippingLabelToStorage\n    shouldNavigationTreeItemsBeAdminOnly\n    shouldNavigationTreeItemsBePubliclyVisible\n    shouldNavigationTreeItemsBeSecondaryNavOnly\n    enableFraudPrevention\n    generateInvoice\n    generateInvoiceOnPaymentApproval\n    allowLegalPersonSales\n    maxInvoiceRetryAttempts\n    invoiceIssueAttemptsDelayInMinutes\n    allowAnonymousRecurringOrders\n    doNotUse\n    isShippingRatesFulfillmentEnabled\n    shopTrialPeriod\n    createdAt\n    updatedAt\n    defaultTaxCode\n    fallbackTaxServiceName\n    primaryTaxServiceName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## shopSettings\n\n**Propósito:** Retorna as configurações operacionais da sua loja — faturamento/nota fiscal, impostos, estoque, assinaturas, navegação e a integração de callback do External Checkout (`tresCliques`).\n**Quando usar:** Consulte antes de operar o External Checkout (`createExternalCheckout`) para confirmar o callback de status, ou sempre que precisar ler a configuração operacional da loja. Para identidade/branding/tema, use `shopBySlug`.\n**Autenticação:** `x-api-key` + `Authorization` (token de `signIn`). A loja é resolvida a partir da sua conta autenticada — **não envie nenhum argumento de loja**, esta operação não recebe argumentos.\n\n### Argumentos\n\nNenhum. `shopSettings` não recebe argumentos — a loja é determinada pela sua autenticação.\n\n### Retorno\n\n`ShopSettings!`:\n\n| Propriedade               | Tipo                  | Descrição                                                                                                                                                               |\n| ------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `tresCliques`             | `TresCliquesSettings` | Configuração de callback do External Checkout. Sempre presente na resposta — se ainda não configurado, vem com os campos abaixo como string vazia (`\"\"`), nunca `null`. |\n| `tresCliques.callbackUrl` | `String`              | URL para onde a Unbox envia atualizações de status de pedidos criados via `createExternalCheckout`. `\"\"` se ainda não configurado.                                      |\n| `tresCliques.callbackKey` | `String`              | Chave usada para assinar as notificações enviadas a `callbackUrl`. `\"\"` se ainda não configurado.                                                                       |\n\nAlém de `tresCliques`, a resposta traz flags operacionais de negócio, entre elas:\n\n| Propriedade                                                         | Tipo      | Descrição                                                                 |\n| ------------------------------------------------------------------- | --------- | ------------------------------------------------------------------------- |\n| `generateInvoice`, `generateInvoiceOnPaymentApproval`               | `Boolean` | Se e quando a nota fiscal é emitida automaticamente.                      |\n| `enableFraudPrevention`                                             | `Boolean` | Prevenção de fraude ativa.                                                |\n| `defaultTaxCode`, `primaryTaxServiceName`, `fallbackTaxServiceName` | `String`  | Configuração fiscal/tributária.                                           |\n| `allowLegalPersonSales`                                             | `Boolean` | Permite venda a pessoa jurídica.                                          |\n| `canSellVariantWithoutInventory`                                    | `Boolean` | Permite vender variante sem estoque.                                      |\n| `showOutOfStockCatalogs`                                            | `Boolean` | Exibe itens esgotados no catálogo.                                        |\n| `allowAnonymousRecurringOrders`                                     | `Boolean` | Permite assinaturas de comprador anônimo.                                 |\n| `discountPerCart`                                                   | `Boolean` | Regra de desconto por carrinho.                                           |\n| `shouldNavigationTreeItemsBe*`                                      | `Boolean` | Visibilidade dos itens da árvore de navegação (admin/público/secundário). |\n\n> Credenciais de gateways de pagamento e integrações (Pagar.me, Malga, Zoop, Bling, Omie, Intelipost, etc.) **não** são retornadas por esta operação — são omitidas por segurança. `tresCliques.callbackKey` é a única chave presente, por ser a sua própria chave de assinatura do External Checkout.\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Somente leitura.** Esta API não expõe uma mutation para alterar `ShopSettings`; a configuração de `tresCliques` é feita pelo seu contato Unbox durante o onboarding."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"shopSettings\": {\n      \"tresCliques\": {\n        \"callbackUrl\": \"https://exemplo.com\",\n        \"callbackKey\": \"Example_String\"\n      },\n      \"showOutOfStockCatalogs\": true,\n      \"loginWithCustomDomain\": true,\n      \"discountPerCart\": true,\n      \"intelipostProductsNature\": \"Example_String\",\n      \"intelipostRecurrentProductCategory\": \"Example_String\",\n      \"canSellVariantWithoutInventory\": true,\n      \"saveShippingLabelToStorage\": true,\n      \"shouldNavigationTreeItemsBeAdminOnly\": true,\n      \"shouldNavigationTreeItemsBePubliclyVisible\": true,\n      \"shouldNavigationTreeItemsBeSecondaryNavOnly\": true,\n      \"enableFraudPrevention\": true,\n      \"generateInvoice\": true,\n      \"generateInvoiceOnPaymentApproval\": true,\n      \"allowLegalPersonSales\": true,\n      \"maxInvoiceRetryAttempts\": 10,\n      \"invoiceIssueAttemptsDelayInMinutes\": 10,\n      \"allowAnonymousRecurringOrders\": true,\n      \"doNotUse\": \"Example_String\",\n      \"isShippingRatesFulfillmentEnabled\": true,\n      \"shopTrialPeriod\": 10,\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"defaultTaxCode\": \"Example_String\",\n      \"fallbackTaxServiceName\": \"Example_String\",\n      \"primaryTaxServiceName\": \"Example_String\"\n    }\n  }\n}"},{"id":"9690c03e-cab1-458c-88bf-5ba1407ab9dc","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopSettings {\n  shopSettings {\n    tresCliques {\n      callbackUrl\n      callbackKey\n    }\n    showOutOfStockCatalogs\n    loginWithCustomDomain\n    discountPerCart\n    intelipostProductsNature\n    intelipostRecurrentProductCategory\n    canSellVariantWithoutInventory\n    saveShippingLabelToStorage\n    shouldNavigationTreeItemsBeAdminOnly\n    shouldNavigationTreeItemsBePubliclyVisible\n    shouldNavigationTreeItemsBeSecondaryNavOnly\n    enableFraudPrevention\n    generateInvoice\n    generateInvoiceOnPaymentApproval\n    allowLegalPersonSales\n    maxInvoiceRetryAttempts\n    invoiceIssueAttemptsDelayInMinutes\n    allowAnonymousRecurringOrders\n    doNotUse\n    isShippingRatesFulfillmentEnabled\n    shopTrialPeriod\n    createdAt\n    updatedAt\n    defaultTaxCode\n    fallbackTaxServiceName\n    primaryTaxServiceName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## shopSettings\n\n**Propósito:** Retorna as configurações operacionais da sua loja — faturamento/nota fiscal, impostos, estoque, assinaturas, navegação e a integração de callback do External Checkout (`tresCliques`).\n**Quando usar:** Consulte antes de operar o External Checkout (`createExternalCheckout`) para confirmar o callback de status, ou sempre que precisar ler a configuração operacional da loja. Para identidade/branding/tema, use `shopBySlug`.\n**Autenticação:** `x-api-key` + `Authorization` (token de `signIn`). A loja é resolvida a partir da sua conta autenticada — **não envie nenhum argumento de loja**, esta operação não recebe argumentos.\n\n### Argumentos\n\nNenhum. `shopSettings` não recebe argumentos — a loja é determinada pela sua autenticação.\n\n### Retorno\n\n`ShopSettings!`:\n\n| Propriedade               | Tipo                  | Descrição                                                                                                                                                               |\n| ------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `tresCliques`             | `TresCliquesSettings` | Configuração de callback do External Checkout. Sempre presente na resposta — se ainda não configurado, vem com os campos abaixo como string vazia (`\"\"`), nunca `null`. |\n| `tresCliques.callbackUrl` | `String`              | URL para onde a Unbox envia atualizações de status de pedidos criados via `createExternalCheckout`. `\"\"` se ainda não configurado.                                      |\n| `tresCliques.callbackKey` | `String`              | Chave usada para assinar as notificações enviadas a `callbackUrl`. `\"\"` se ainda não configurado.                                                                       |\n\nAlém de `tresCliques`, a resposta traz flags operacionais de negócio, entre elas:\n\n| Propriedade                                                         | Tipo      | Descrição                                                                 |\n| ------------------------------------------------------------------- | --------- | ------------------------------------------------------------------------- |\n| `generateInvoice`, `generateInvoiceOnPaymentApproval`               | `Boolean` | Se e quando a nota fiscal é emitida automaticamente.                      |\n| `enableFraudPrevention`                                             | `Boolean` | Prevenção de fraude ativa.                                                |\n| `defaultTaxCode`, `primaryTaxServiceName`, `fallbackTaxServiceName` | `String`  | Configuração fiscal/tributária.                                           |\n| `allowLegalPersonSales`                                             | `Boolean` | Permite venda a pessoa jurídica.                                          |\n| `canSellVariantWithoutInventory`                                    | `Boolean` | Permite vender variante sem estoque.                                      |\n| `showOutOfStockCatalogs`                                            | `Boolean` | Exibe itens esgotados no catálogo.                                        |\n| `allowAnonymousRecurringOrders`                                     | `Boolean` | Permite assinaturas de comprador anônimo.                                 |\n| `discountPerCart`                                                   | `Boolean` | Regra de desconto por carrinho.                                           |\n| `shouldNavigationTreeItemsBe*`                                      | `Boolean` | Visibilidade dos itens da árvore de navegação (admin/público/secundário). |\n\n> Credenciais de gateways de pagamento e integrações (Pagar.me, Malga, Zoop, Bling, Omie, Intelipost, etc.) **não** são retornadas por esta operação — são omitidas por segurança. `tresCliques.callbackKey` é a única chave presente, por ser a sua própria chave de assinatura do External Checkout.\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Somente leitura.** Esta API não expõe uma mutation para alterar `ShopSettings`; a configuração de `tresCliques` é feita pelo seu contato Unbox durante o onboarding."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"88a198e9-966d-46ae-86db-40ba312f9518","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopSettings {\n  shopSettings {\n    tresCliques {\n      callbackUrl\n      callbackKey\n    }\n    showOutOfStockCatalogs\n    loginWithCustomDomain\n    discountPerCart\n    intelipostProductsNature\n    intelipostRecurrentProductCategory\n    canSellVariantWithoutInventory\n    saveShippingLabelToStorage\n    shouldNavigationTreeItemsBeAdminOnly\n    shouldNavigationTreeItemsBePubliclyVisible\n    shouldNavigationTreeItemsBeSecondaryNavOnly\n    enableFraudPrevention\n    generateInvoice\n    generateInvoiceOnPaymentApproval\n    allowLegalPersonSales\n    maxInvoiceRetryAttempts\n    invoiceIssueAttemptsDelayInMinutes\n    allowAnonymousRecurringOrders\n    doNotUse\n    isShippingRatesFulfillmentEnabled\n    shopTrialPeriod\n    createdAt\n    updatedAt\n    defaultTaxCode\n    fallbackTaxServiceName\n    primaryTaxServiceName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## shopSettings\n\n**Propósito:** Retorna as configurações operacionais da sua loja — faturamento/nota fiscal, impostos, estoque, assinaturas, navegação e a integração de callback do External Checkout (`tresCliques`).\n**Quando usar:** Consulte antes de operar o External Checkout (`createExternalCheckout`) para confirmar o callback de status, ou sempre que precisar ler a configuração operacional da loja. Para identidade/branding/tema, use `shopBySlug`.\n**Autenticação:** `x-api-key` + `Authorization` (token de `signIn`). A loja é resolvida a partir da sua conta autenticada — **não envie nenhum argumento de loja**, esta operação não recebe argumentos.\n\n### Argumentos\n\nNenhum. `shopSettings` não recebe argumentos — a loja é determinada pela sua autenticação.\n\n### Retorno\n\n`ShopSettings!`:\n\n| Propriedade               | Tipo                  | Descrição                                                                                                                                                               |\n| ------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `tresCliques`             | `TresCliquesSettings` | Configuração de callback do External Checkout. Sempre presente na resposta — se ainda não configurado, vem com os campos abaixo como string vazia (`\"\"`), nunca `null`. |\n| `tresCliques.callbackUrl` | `String`              | URL para onde a Unbox envia atualizações de status de pedidos criados via `createExternalCheckout`. `\"\"` se ainda não configurado.                                      |\n| `tresCliques.callbackKey` | `String`              | Chave usada para assinar as notificações enviadas a `callbackUrl`. `\"\"` se ainda não configurado.                                                                       |\n\nAlém de `tresCliques`, a resposta traz flags operacionais de negócio, entre elas:\n\n| Propriedade                                                         | Tipo      | Descrição                                                                 |\n| ------------------------------------------------------------------- | --------- | ------------------------------------------------------------------------- |\n| `generateInvoice`, `generateInvoiceOnPaymentApproval`               | `Boolean` | Se e quando a nota fiscal é emitida automaticamente.                      |\n| `enableFraudPrevention`                                             | `Boolean` | Prevenção de fraude ativa.                                                |\n| `defaultTaxCode`, `primaryTaxServiceName`, `fallbackTaxServiceName` | `String`  | Configuração fiscal/tributária.                                           |\n| `allowLegalPersonSales`                                             | `Boolean` | Permite venda a pessoa jurídica.                                          |\n| `canSellVariantWithoutInventory`                                    | `Boolean` | Permite vender variante sem estoque.                                      |\n| `showOutOfStockCatalogs`                                            | `Boolean` | Exibe itens esgotados no catálogo.                                        |\n| `allowAnonymousRecurringOrders`                                     | `Boolean` | Permite assinaturas de comprador anônimo.                                 |\n| `discountPerCart`                                                   | `Boolean` | Regra de desconto por carrinho.                                           |\n| `shouldNavigationTreeItemsBe*`                                      | `Boolean` | Visibilidade dos itens da árvore de navegação (admin/público/secundário). |\n\n> Credenciais de gateways de pagamento e integrações (Pagar.me, Malga, Zoop, Bling, Omie, Intelipost, etc.) **não** são retornadas por esta operação — são omitidas por segurança. `tresCliques.callbackKey` é a única chave presente, por ser a sua própria chave de assinatura do External Checkout.\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Somente leitura.** Esta API não expõe uma mutation para alterar `ShopSettings`; a configuração de `tresCliques` é feita pelo seu contato Unbox durante o onboarding."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"1e5582ff-2d95-52ac-9426-032f8ff5b73d"}],"id":"90e1ce65-4b71-49ef-82a9-88e9739b3867","_postman_id":"90e1ce65-4b71-49ef-82a9-88e9739b3867","description":""}],"id":"13f797ba-bdc5-43ad-8be8-dc41d0743c97","description":"<h1 id=\"settings\">Settings</h1>\n<p>Configurações da loja disponíveis para leitura via API. Hoje expõe as configurações de integração do External Checkout (<code>tresCliques</code>); novas configurações podem ser adicionadas aqui conforme a API evoluir.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tipo</th>\n<th>Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ShopSettings</code></td>\n<td><code>tresCliques</code></td>\n<td>Objeto raiz de configurações da loja. Extensível: novos campos podem ser adicionados por outras áreas da plataforma sem quebrar clientes existentes que não os utilizam.</td>\n</tr>\n<tr>\n<td><code>TresCliquesSettings</code></td>\n<td><code>callbackUrl</code>, <code>callbackKey</code></td>\n<td>Credenciais/endpoint usados internamente pela Unbox para notificar o parceiro sobre atualizações de status de pedidos criados via External Checkout (<code>createExternalCheckout</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Somente leitura.</strong> Não há mutation exposta nesta API para alterar <code>ShopSettings</code> — a configuração de <code>tresCliques</code> (callback de status de pedido do External Checkout) é feita pelo seu contato Unbox durante o onboarding da integração.</li>\n<li><strong><code>tresCliques</code> pode vir com <code>callbackUrl</code>/<code>callbackKey</code> vazios (<code>\"\"</code>)</strong> se o callback do External Checkout ainda não tiver sido configurado para a loja — não use isso como indicativo de erro, apenas de integração pendente.</li>\n</ul>\n","_postman_id":"13f797ba-bdc5-43ad-8be8-dc41d0743c97"},{"name":"Shops","item":[{"name":"Query","item":[{"name":"[Query] shopBySlug","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns shopBySlug data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"shopBySlug\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"shopBySlug returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.shopBySlug;","    ","    if (data !== null) {","        if (data.shopSales !== undefined && data.shopSales !== null) {","            pm.expect(data.shopSales).to.be.an(\"array\");","        }","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.brandAssets !== undefined && data.brandAssets !== null) {","            pm.expect(data.brandAssets).to.be.an(\"object\");","        }","        if (data.defaultParcelSize !== undefined && data.defaultParcelSize !== null) {","            pm.expect(data.defaultParcelSize).to.be.an(\"object\");","        }","        if (data.description !== undefined && data.description !== null) {","            pm.expect(typeof data.description).to.equal(\"string\");","        }","        if (data.isCompany !== undefined && data.isCompany !== null) {","            pm.expect(typeof data.isCompany).to.equal(\"boolean\");","        }","        if (data.storefrontTemplate !== undefined && data.storefrontTemplate !== null) {","            pm.expect(data.storefrontTemplate).to.be.an(\"object\");","        }","        if (data.keywords !== undefined && data.keywords !== null) {","            pm.expect(typeof data.keywords).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"name\");","        if (data.name !== undefined && data.name !== null) {","            pm.expect(typeof data.name).to.equal(\"string\");","        }","        if (data.recurringOrdersPolicy !== undefined && data.recurringOrdersPolicy !== null) {","            pm.expect(data.recurringOrdersPolicy).to.be.an(\"object\");","        }","    }","});"]}}],"id":"c2cd5e5f-2ea7-55f6-85c5-7080d395bdad","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopBySlug {\n  shopBySlug {\n    shopSales {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    _id\n    brandAssets {\n      navbarBrandImage {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      navbarBrandImageId\n    }\n    defaultParcelSize {\n      height\n      length\n      weight\n      width\n    }\n    description\n    isCompany\n    storefrontTemplate {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      general {\n        logo {\n          url\n          altText\n        }\n        favicon {\n          smallImage {\n            url\n            altText\n          }\n          largeImage {\n            url\n            altText\n          }\n        }\n        primaryColor\n        buyButton {\n          backgroundColor\n          fontColor\n          hoverColor\n        }\n        SEO {\n          keywords\n          gaId\n          pixelId\n          gtmId\n          title\n          description\n        }\n        showProductInstallments\n      }\n      header {\n        headerText {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n        menuItems {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n      }\n      footer {\n        backgroundColor\n        fontColor\n        footerDescription\n        aboutUs {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n        social {\n          instagram\n          facebook\n          youtube\n          pinterest\n          twitter\n          linkedin\n          whatsapp\n        }\n        contactUs {\n          firstLine\n          secondLine\n          thirdLine\n        }\n      }\n      pages {\n        home {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        termsAndConditions {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        aboutUs {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n      }\n    }\n    keywords\n    name\n    recurringOrdersPolicy {\n      _id\n      shopId\n      enabled\n      createdAt\n      updatedAt\n      allowedFrequencies {\n        _id\n        title\n        periodicity\n        interval\n      }\n      minDaysIntervalBetweenCycles\n      pricingPolicy {\n        type\n        value\n      }\n      keepOrderPricingPolicy\n      productsPolicy {\n        includeAllProducts\n        products {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n      }\n      termsAndConditions\n      chargeAttemptsPipeline {\n        attempts {\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n            nextAttemptInMinutes\n          }\n        }\n        onSuccess {\n          emails {\n            emailTemplate\n            sendToRecurringOrderCustomer\n            sendToShopOwner\n            sendTo\n          }\n        }\n        onFailure {\n          emails {\n            emailTemplate\n            sendToRecurringOrderCustomer\n            sendToShopOwner\n            sendTo\n          }\n        }\n      }\n      customerActions {\n        canSkipCycle\n        canChangeFrequency\n        canPause\n        canChangeAddress\n        canAddProducts\n        canRemoveProducts\n        canChangeProductQuantity\n      }\n    }\n    shopLogoUrls {\n      primaryShopLogoUrl\n    }\n    social {\n      instagramUrl\n      facebookUrl\n    }\n    slug\n    storefrontUrls {\n      storefrontAccountProfileUrl\n      storefrontHomeUrl\n      storefrontLoginUrl\n      storefrontOrderUrl\n      storefrontOrdersUrl\n    }\n    storeTemplateUrl\n    providers {\n      logistics\n      payment\n      products\n      checkout\n      invoice\n      erp\n      marketing\n    }\n    acceptsBoleto\n    acceptsCreditCard\n    createdAt\n    domains\n    trialRemainingDays\n    fulfillmentOptions {\n      _id\n      name\n      description\n      label\n      carrier\n      enabled\n      classification\n      type\n      shopId\n      handling {\n        value\n        isPercentage\n      }\n      constraints {\n        weight {\n          min\n          max\n        }\n        cubeWeight {\n          min\n          max\n        }\n        length {\n          min\n          max\n        }\n        height {\n          min\n          max\n        }\n        width {\n          min\n          max\n        }\n        subtotal {\n          min\n          max\n        }\n        dimensionsSum {\n          min\n          max\n        }\n        postalCoverage {\n          locationId\n          name\n          state\n          region\n          type\n          postalRange {\n            postalCodeFrom\n            postalCodeTo\n          }\n        }\n        postalOutOfCoverage {\n          locationId\n          name\n          state\n          region\n          type\n          postalRange {\n            postalCodeFrom\n            postalCodeTo\n          }\n        }\n      }\n      address {\n        address1\n        address2\n        city\n        cityCode\n        country\n        fullName\n        neighborhood\n        number\n        postal\n        region\n      }\n      additionalDaysToDeliver\n      availability {\n        days\n        startHour\n        endHour\n      }\n      createdAt\n      updatedAt\n      ordersCount\n      missingCredentials\n    }\n    settings {\n      allowLegalPersonSales\n      showOutOfStockCatalogs\n      allowAnonymousRecurringOrders\n      maxInstallments\n      threeDSActive\n      shopify {\n        storeDomain\n      }\n      unboxPayProviders\n    }\n    dashboards {\n      url\n      title\n      header\n      category\n    }\n    sitemap\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"shopbyslug\">shopBySlug</h2>\n<p><strong>Propósito:</strong> Retorna os dados da sua loja — identidade, branding, configuração de storefront e flags comerciais — para renderizar o cabeçalho/tema do seu canal e conhecer as capacidades da loja.\n<strong>Quando usar:</strong> Ao inicializar o seu storefront (logo, cores, nome, moeda, domínios, template) ou para ler a configuração pública da loja. Para as configurações operacionais detalhadas (fiscal, faturamento, callback do External Checkout), use <code>shopSettings</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir da sua conta autenticada — o <code>slug</code> é derivado do seu token na borda, <strong>não há argumento nesta operação e você não o envia</strong>. Envie sempre um <code>Authorization</code> válido: sem ele o escopo de loja não é aplicado e a chamada falha.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum. <code>shopBySlug</code> não recebe argumentos — a loja é determinada pela sua autenticação (o <code>slug</code> vem do seu token).</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>Shop</code> — os dados da sua loja. Principais grupos de campos:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Grupo</th>\n<th>Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Identidade</td>\n<td><code>_id</code>, <code>name</code>, <code>slug</code>, <code>description</code>, <code>keywords</code>, <code>businessSector</code>, <code>isCompany</code></td>\n<td>Identificação e classificação da loja.</td>\n</tr>\n<tr>\n<td>Localização</td>\n<td><code>language</code>, <code>timezone</code>, <code>currency</code>, <code>unitsOfLength</code>, <code>unitsOfMeasure</code>, <code>baseUOL</code>, <code>baseUOM</code></td>\n<td>Idioma, fuso, moeda e unidades.</td>\n</tr>\n<tr>\n<td>Branding</td>\n<td><code>brandAssets</code>, <code>shopLogoUrls</code>, <code>social</code></td>\n<td>Logotipos, identidade visual e redes sociais.</td>\n</tr>\n<tr>\n<td>Storefront</td>\n<td><code>storefrontTemplate</code>, <code>storefrontUrls</code>, <code>storeTemplateUrl</code>, <code>defaultNavigationTree</code>, <code>defaultNavigationTreeId</code>, <code>sitemap</code>, <code>tags</code></td>\n<td>Template, URLs, árvore de navegação e sitemap do canal.</td>\n</tr>\n<tr>\n<td>Comercial</td>\n<td><code>acceptsBoleto</code>, <code>acceptsCreditCard</code>, <code>allowGuestCheckout</code>, <code>recurringOrdersPolicy</code>, <code>defaultParcelSize</code>, <code>fulfillmentOptions</code>, <code>settings</code></td>\n<td>Meios de pagamento aceitos, política de assinaturas, parcela padrão e <code>settings</code> públicos (<code>ShopPublicSettings</code>: <code>maxInstallments</code>, <code>showOutOfStockCatalogs</code>, etc.).</td>\n</tr>\n<tr>\n<td>Operacional</td>\n<td><code>domains</code>, <code>enabledTaskGroups</code>, <code>trialRemainingDays</code>, <code>shopSales</code>, <code>createdAt</code></td>\n<td>Domínios, grupos de tarefas habilitados e metadados.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Dados internos da Unbox (qualificação de lead, onboarding, assinatura, e-mails, endereços, integrações/credenciais) <strong>não</strong> são expostos por esta operação. Para credenciais/configuração de gateway, elas não são retornadas por design (segurança).</p>\n</blockquote>\n<h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente ou inválido.</td>\n<td>Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça <code>signIn</code> e reenvie.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Retorna sempre a <strong>sua</strong> loja (a do token). Não é possível consultar outra loja por slug — o <code>slug</code> é injetado a partir da sua identidade autenticada, não enviado por você.</li>\n<li>Para configurações operacionais (fiscal, faturamento, callback do External Checkout), prefira <code>shopSettings</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6674fa5e-7903-46af-ad2e-1c7bced0d961","name":"200 - shopBySlug","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopBySlug {\n  shopBySlug {\n    shopSales {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    _id\n    brandAssets {\n      navbarBrandImage {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      navbarBrandImageId\n    }\n    defaultParcelSize {\n      height\n      length\n      weight\n      width\n    }\n    description\n    isCompany\n    storefrontTemplate {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      general {\n        logo {\n          url\n          altText\n        }\n        favicon {\n          smallImage {\n            url\n            altText\n          }\n          largeImage {\n            url\n            altText\n          }\n        }\n        primaryColor\n        buyButton {\n          backgroundColor\n          fontColor\n          hoverColor\n        }\n        SEO {\n          keywords\n          gaId\n          pixelId\n          gtmId\n          title\n          description\n        }\n        showProductInstallments\n      }\n      header {\n        headerText {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n        menuItems {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n      }\n      footer {\n        backgroundColor\n        fontColor\n        footerDescription\n        aboutUs {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n        social {\n          instagram\n          facebook\n          youtube\n          pinterest\n          twitter\n          linkedin\n          whatsapp\n        }\n        contactUs {\n          firstLine\n          secondLine\n          thirdLine\n        }\n      }\n      pages {\n        home {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        termsAndConditions {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        aboutUs {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n      }\n    }\n    keywords\n    name\n    recurringOrdersPolicy {\n      _id\n      shopId\n      enabled\n      createdAt\n      updatedAt\n      allowedFrequencies {\n        _id\n        title\n        periodicity\n        interval\n      }\n      minDaysIntervalBetweenCycles\n      pricingPolicy {\n        type\n        value\n      }\n      keepOrderPricingPolicy\n      productsPolicy {\n        includeAllProducts\n        products {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n      }\n      termsAndConditions\n      chargeAttemptsPipeline {\n        attempts {\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n            nextAttemptInMinutes\n          }\n        }\n        onSuccess {\n          emails {\n            emailTemplate\n            sendToRecurringOrderCustomer\n            sendToShopOwner\n            sendTo\n          }\n        }\n        onFailure {\n          emails {\n            emailTemplate\n            sendToRecurringOrderCustomer\n            sendToShopOwner\n            sendTo\n          }\n        }\n      }\n      customerActions {\n        canSkipCycle\n        canChangeFrequency\n        canPause\n        canChangeAddress\n        canAddProducts\n        canRemoveProducts\n        canChangeProductQuantity\n      }\n    }\n    shopLogoUrls {\n      primaryShopLogoUrl\n    }\n    social {\n      instagramUrl\n      facebookUrl\n    }\n    slug\n    storefrontUrls {\n      storefrontAccountProfileUrl\n      storefrontHomeUrl\n      storefrontLoginUrl\n      storefrontOrderUrl\n      storefrontOrdersUrl\n    }\n    storeTemplateUrl\n    providers {\n      logistics\n      payment\n      products\n      checkout\n      invoice\n      erp\n      marketing\n    }\n    acceptsBoleto\n    acceptsCreditCard\n    createdAt\n    domains\n    trialRemainingDays\n    fulfillmentOptions {\n      _id\n      name\n      description\n      label\n      carrier\n      enabled\n      classification\n      type\n      shopId\n      handling {\n        value\n        isPercentage\n      }\n      constraints {\n        weight {\n          min\n          max\n        }\n        cubeWeight {\n          min\n          max\n        }\n        length {\n          min\n          max\n        }\n        height {\n          min\n          max\n        }\n        width {\n          min\n          max\n        }\n        subtotal {\n          min\n          max\n        }\n        dimensionsSum {\n          min\n          max\n        }\n        postalCoverage {\n          locationId\n          name\n          state\n          region\n          type\n          postalRange {\n            postalCodeFrom\n            postalCodeTo\n          }\n        }\n        postalOutOfCoverage {\n          locationId\n          name\n          state\n          region\n          type\n          postalRange {\n            postalCodeFrom\n            postalCodeTo\n          }\n        }\n      }\n      address {\n        address1\n        address2\n        city\n        cityCode\n        country\n        fullName\n        neighborhood\n        number\n        postal\n        region\n      }\n      additionalDaysToDeliver\n      availability {\n        days\n        startHour\n        endHour\n      }\n      createdAt\n      updatedAt\n      ordersCount\n      missingCredentials\n    }\n    settings {\n      allowLegalPersonSales\n      showOutOfStockCatalogs\n      allowAnonymousRecurringOrders\n      maxInstallments\n      threeDSActive\n      shopify {\n        storeDomain\n      }\n      unboxPayProviders\n    }\n    dashboards {\n      url\n      title\n      header\n      category\n    }\n    sitemap\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## shopBySlug\n\n**Propósito:** Retorna os dados da sua loja — identidade, branding, configuração de storefront e flags comerciais — para renderizar o cabeçalho/tema do seu canal e conhecer as capacidades da loja.\n**Quando usar:** Ao inicializar o seu storefront (logo, cores, nome, moeda, domínios, template) ou para ler a configuração pública da loja. Para as configurações operacionais detalhadas (fiscal, faturamento, callback do External Checkout), use `shopSettings`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — o `slug` é derivado do seu token na borda, **não há argumento nesta operação e você não o envia**. Envie sempre um `Authorization` válido: sem ele o escopo de loja não é aplicado e a chamada falha.\n\n### Argumentos\n\nNenhum. `shopBySlug` não recebe argumentos — a loja é determinada pela sua autenticação (o `slug` vem do seu token).\n\n### Retorno\n\n`Shop` — os dados da sua loja. Principais grupos de campos:\n\n| Grupo       | Campos                                                                                                                                     | Descrição                                                                                                                                                            |\n| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Identidade  | `_id`, `name`, `slug`, `description`, `keywords`, `businessSector`, `isCompany`                                                            | Identificação e classificação da loja.                                                                                                                               |\n| Localização | `language`, `timezone`, `currency`, `unitsOfLength`, `unitsOfMeasure`, `baseUOL`, `baseUOM`                                                | Idioma, fuso, moeda e unidades.                                                                                                                                      |\n| Branding    | `brandAssets`, `shopLogoUrls`, `social`                                                                                                    | Logotipos, identidade visual e redes sociais.                                                                                                                        |\n| Storefront  | `storefrontTemplate`, `storefrontUrls`, `storeTemplateUrl`, `defaultNavigationTree`, `defaultNavigationTreeId`, `sitemap`, `tags`          | Template, URLs, árvore de navegação e sitemap do canal.                                                                                                              |\n| Comercial   | `acceptsBoleto`, `acceptsCreditCard`, `allowGuestCheckout`, `recurringOrdersPolicy`, `defaultParcelSize`, `fulfillmentOptions`, `settings` | Meios de pagamento aceitos, política de assinaturas, parcela padrão e `settings` públicos (`ShopPublicSettings`: `maxInstallments`, `showOutOfStockCatalogs`, etc.). |\n| Operacional | `domains`, `enabledTaskGroups`, `trialRemainingDays`, `shopSales`, `createdAt`                                                             | Domínios, grupos de tarefas habilitados e metadados.                                                                                                                 |\n\n> Dados internos da Unbox (qualificação de lead, onboarding, assinatura, e-mails, endereços, integrações/credenciais) **não** são expostos por esta operação. Para credenciais/configuração de gateway, elas não são retornadas por design (segurança).\n\n### Erros\n\n| Código         | Condição                             | O que fazer                                                                                       |\n| -------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `Authorization` ausente ou inválido. | Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça `signIn` e reenvie. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Retorna sempre a **sua** loja (a do token). Não é possível consultar outra loja por slug — o `slug` é injetado a partir da sua identidade autenticada, não enviado por você.\n- Para configurações operacionais (fiscal, faturamento, callback do External Checkout), prefira `shopSettings`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"shopBySlug\": {\n      \"shopSales\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"code\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"discountMethod\": \"CODE\",\n          \"label\": \"Example_String\",\n          \"enabled\": true,\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\"\n        }\n      ],\n      \"_id\": \"Example_ID\",\n      \"brandAssets\": {\n        \"navbarBrandImageId\": \"Example_String\"\n      },\n      \"defaultParcelSize\": {\n        \"height\": 99.99,\n        \"length\": 99.99,\n        \"weight\": 99.99,\n        \"width\": 99.99\n      },\n      \"description\": \"Example_String\",\n      \"isCompany\": true,\n      \"storefrontTemplate\": {\n        \"_id\": \"Example_ID\",\n        \"shopId\": \"Example_String\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\"\n      },\n      \"keywords\": \"Example_String\",\n      \"name\": \"Example_String\",\n      \"recurringOrdersPolicy\": {\n        \"_id\": \"Example_String\",\n        \"shopId\": \"Example_String\",\n        \"enabled\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"updatedAt\": \"2025-01-15T10:00:00Z\",\n        \"minDaysIntervalBetweenCycles\": 10,\n        \"keepOrderPricingPolicy\": true,\n        \"termsAndConditions\": \"Example_String\"\n      },\n      \"shopLogoUrls\": {\n        \"primaryShopLogoUrl\": \"https://exemplo.com\"\n      },\n      \"social\": {\n        \"instagramUrl\": \"https://exemplo.com\",\n        \"facebookUrl\": \"https://exemplo.com\"\n      },\n      \"slug\": \"Example_String\",\n      \"storefrontUrls\": {\n        \"storefrontAccountProfileUrl\": \"https://exemplo.com\",\n        \"storefrontHomeUrl\": \"https://exemplo.com\",\n        \"storefrontLoginUrl\": \"https://exemplo.com\",\n        \"storefrontOrderUrl\": \"https://exemplo.com\",\n        \"storefrontOrdersUrl\": \"https://exemplo.com\"\n      },\n      \"storeTemplateUrl\": \"https://exemplo.com\",\n      \"providers\": {\n        \"logistics\": \"INTELIPOST\",\n        \"payment\": \"ZOOP\",\n        \"products\": \"ERP\",\n        \"checkout\": [\n          \"SHOPIFY\"\n        ],\n        \"invoice\": \"ERP\",\n        \"erp\": \"OMIE\",\n        \"marketing\": [\n          \"RD_STATION\"\n        ]\n      },\n      \"acceptsBoleto\": true,\n      \"acceptsCreditCard\": true,\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"domains\": [\n        \"Example_String\"\n      ],\n      \"trialRemainingDays\": 10,\n      \"fulfillmentOptions\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"name\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"label\": \"Example_String\",\n          \"carrier\": \"Example_String\",\n          \"enabled\": true,\n          \"classification\": \"FULFILLMENT_OPTION\",\n          \"type\": \"CORREIOS_PAC\",\n          \"shopId\": \"Example_ID\",\n          \"additionalDaysToDeliver\": 10,\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"ordersCount\": 10,\n          \"missingCredentials\": true\n        }\n      ],\n      \"settings\": {\n        \"allowLegalPersonSales\": true,\n        \"showOutOfStockCatalogs\": true,\n        \"allowAnonymousRecurringOrders\": true,\n        \"maxInstallments\": 10,\n        \"threeDSActive\": true,\n        \"unboxPayProviders\": [\n          \"ZOOP\"\n        ]\n      },\n      \"dashboards\": [\n        {\n          \"url\": \"https://exemplo.com\",\n          \"title\": \"Example_String\",\n          \"header\": \"Example_String\",\n          \"category\": \"MAIN\"\n        }\n      ],\n      \"sitemap\": \"Example_String\",\n      \"tags\": {\n        \"nodes\": [\n          {\n            \"_id\": \"Example_ID\",\n            \"erpCode\": \"Example_String\",\n            \"createdAt\": \"2025-01-15T10:00:00Z\",\n            \"displayTitle\": \"Example_String\",\n            \"description\": \"Example_String\",\n            \"featuredProductIds\": [\n              \"Example_ID\"\n            ],\n            \"isDeleted\": true,\n            \"isTopLevel\": true,\n            \"isVisible\": true,\n            \"name\": \"Example_String\",\n            \"position\": 10,\n            \"publishedUrl\": \"https://exemplo.com\",\n            \"slug\": \"Example_String\",\n            \"subTagIds\": [\n              \"Example_ID\"\n            ],\n            \"updatedAt\": \"2025-01-15T10:00:00Z\"\n          }\n        ],\n        \"pageInfo\": {\n          \"hasNextPage\": false,\n          \"endCursor\": null\n        },\n        \"totalCount\": 10\n      }\n    }\n  }\n}"},{"id":"8953bae1-bf29-4fe5-8382-44f8a49e6279","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShopBySlug {\n  shopBySlug {\n    shopSales {\n      _id\n      code\n      conditions {\n        accountLimit\n        redemptionLimit\n        recurrenceCycleLimit\n        startDate\n        endDate\n        max\n        min\n        productType\n        tags\n        audience\n        permissions\n        products\n      }\n      description\n      discountMethod\n      label\n      transactions {\n        _id\n        account {\n          _id\n          addressBook {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n            }\n          }\n        }\n          bio\n          createdAt\n          currency {\n            _id\n            code\n            decimal\n            format\n            rate\n            scale\n            symbol\n            thousand\n          }\n          firstName\n          language\n          lastName\n          metafields {\n            receiveNewOrderEmail\n          }\n          name\n          note\n          picture\n          preferences\n          primaryEmailAddress\n          updatedAt\n          userId\n          username\n          externalAccountId\n          isFirstAccess\n          groups {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              createdAt\n              description\n              name\n              slug\n              updatedAt\n            }\n          }\n        }\n        }\n        cartId\n        paymentLink {\n          _id\n          referenceId\n          type\n          shopId\n          externalId\n          createdAt\n          updatedAt\n          title\n          createdBy\n          updatedBy\n          totalAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          constraints {\n            buyerTypes\n            usageLimit\n            expirationDate\n          }\n          status\n          isSoldOut\n          isExpired\n          shipping {\n            fulfillmentType\n            fulfillmentOptions {\n              _id\n              name\n              description\n              label\n              carrier\n              enabled\n              classification\n              type\n              shopId\n              additionalDaysToDeliver\n              createdAt\n              updatedAt\n              ordersCount\n              missingCredentials\n            }\n            shippingValue {\n              amount\n              displayAmount\n            }\n          }\n          description\n          items {\n            _id\n            images {\n              url\n              altText\n            }\n            parcel {\n              weight\n              height\n              width\n              length\n            }\n            title\n            description\n            quantity\n            price {\n              amount\n              displayAmount\n            }\n            subtotal {\n              amount\n              displayAmount\n            }\n            productERPCode\n            variantERPCode\n          }\n          ordersCount\n          metadata {\n            orderTotal {\n              amount\n              displayAmount\n            }\n            orderSummary {\n              type\n              description\n            }\n            successCallbackURL\n            discount {\n              discountId\n              code\n              method\n            }\n            shopSales {\n              discountId\n              discountCalculationMethod\n              label\n              description\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            orderTotalBeforeInterest {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n          }\n          paymentMethod\n          blockPaymentMethodChange\n          blockApplyDiscountCode\n          blockApplyShopSale\n        }\n        createdAt\n        discounts {\n          code\n          description\n          discount\n          discountMethod\n          label\n          discountedAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        email\n        fulfillmentGroups {\n          _id\n          address {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          items {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n              _id\n              addedAt\n              cancelReason\n              createdAt\n              isRecurring\n              isDiscountedBonusItem\n              optionTitle\n              productSlug\n              productTags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n              productType\n              productVendor\n              quantity\n              status\n              title\n              updatedAt\n              variantTitle\n              variantTItles\n              isTaxable\n              taxCode\n              thumbnail\n            }\n          }\n        }\n          selectedFulfillmentOption {\n            fulfillmentMethod {\n              _id\n              carrier\n              displayName\n              fulfillmentTypes\n              group\n              name\n              type\n              daysToDeliver\n              description\n              label\n            }\n            handlingPrice {\n              amount\n              displayAmount\n            }\n            discountPrice {\n              amount\n              displayAmount\n            }\n            price {\n              amount\n              displayAmount\n            }\n          }\n          shippingLabel {\n            url\n            content\n          }\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          trackingCode\n          tracking {\n            code\n            url\n            event {\n              createdAt\n              createdBy\n              triggeredBy\n              comment\n            }\n          }\n          type\n          taxSummary {\n            calculatedAt\n            calculatedByTaxServiceName\n            referenceId\n            tax {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            taxes {\n              _id\n              jurisdictionId\n              sourcing\n              taxName\n            }\n          }\n        }\n        notes {\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          content\n          createdAt\n          updatedAt\n        }\n        payments {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          billingAddress {\n            _id\n            alias\n            address1\n            address2\n            city\n            cityCode\n            company\n            country\n            firstName\n            fullName\n            isBillingDefault\n            isCommercial\n            isShippingDefault\n            lastName\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            neighborhood\n            number\n            phone\n            postal\n            region\n            reference\n            taxPayerId\n            mobile\n            trackByMobile\n          }\n          captureErrorCode\n          captureErrorMessage\n          cardBrand\n          createdAt\n          displayName\n          isAuthorizationCanceled\n          isCaptured\n          method {\n            canRefund\n            displayName\n            isEnabled\n            name\n            pluginName\n          }\n          mode\n          processor\n          riskLevel\n          status {\n            status\n            createdAt\n            createdBy\n            triggeredBy\n            history {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n          }\n          tookLossOnSale\n          transactionId\n          threeDSChallengeRequested\n          threeDSChallengePayload\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        shopSales {\n          _id\n          amount\n          createdAt\n          currencyCode\n          data\n          displayName\n          method\n          mode\n          name\n          paymentPluginName\n          processor\n          status\n          transactionId\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        source\n        status\n        summary {\n          discountTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalSavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          effectiveTaxRate {\n            amount\n            displayPercent\n            percent\n          }\n          fulfillmentTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          installmentAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          interest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalBeforeInterest {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          itemTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          taxableAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          total {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutDiscounts {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalWithoutAnySavings {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          surchargeTotal {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n        }\n        totalItemQuantity\n        updatedAt\n        invoiceIssued\n        sentToERP\n        soldToCompany\n        sentToLP\n        dispatched\n        delivered\n        problemDelivering\n        isBoletoPaid\n        shippingLabelPending\n        shippingLabelFailed\n        surcharges {\n          _id\n          amount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fulfillmentGroupId\n          surchargeDefinitionId\n        }\n      }\n      enabled\n      createdAt\n      updatedAt\n    }\n    _id\n    brandAssets {\n      navbarBrandImage {\n        large\n        medium\n        original\n        small\n        thumbnail\n      }\n      navbarBrandImageId\n    }\n    defaultParcelSize {\n      height\n      length\n      weight\n      width\n    }\n    description\n    isCompany\n    storefrontTemplate {\n      _id\n      shopId\n      createdAt\n      updatedAt\n      general {\n        logo {\n          url\n          altText\n        }\n        favicon {\n          smallImage {\n            url\n            altText\n          }\n          largeImage {\n            url\n            altText\n          }\n        }\n        primaryColor\n        buyButton {\n          backgroundColor\n          fontColor\n          hoverColor\n        }\n        SEO {\n          keywords\n          gaId\n          pixelId\n          gtmId\n          title\n          description\n        }\n        showProductInstallments\n      }\n      header {\n        headerText {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n        menuItems {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n      }\n      footer {\n        backgroundColor\n        fontColor\n        footerDescription\n        aboutUs {\n          _id\n          type\n          items {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          itemsMobile {\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          maxItems\n          enabled\n          readOnly\n          title\n          subtitle\n          description\n          localPath\n          externalUrl\n          image {\n            url\n            altText\n          }\n          backgroundColor\n          fontColor\n          metadata\n        }\n        social {\n          instagram\n          facebook\n          youtube\n          pinterest\n          twitter\n          linkedin\n          whatsapp\n        }\n        contactUs {\n          firstLine\n          secondLine\n          thirdLine\n        }\n      }\n      pages {\n        home {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        termsAndConditions {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        aboutUs {\n          enabled\n          SEO {\n            title\n            description\n          }\n          components {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n      }\n    }\n    keywords\n    name\n    recurringOrdersPolicy {\n      _id\n      shopId\n      enabled\n      createdAt\n      updatedAt\n      allowedFrequencies {\n        _id\n        title\n        periodicity\n        interval\n      }\n      minDaysIntervalBetweenCycles\n      pricingPolicy {\n        type\n        value\n      }\n      keepOrderPricingPolicy\n      productsPolicy {\n        includeAllProducts\n        products {\n          compareAtPrice\n          price\n          pricing {\n            compareAtPrice {\n              amount\n              displayAmount\n            }\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayPrice\n            maxPrice\n            minPrice\n            price\n          }\n          _id\n          erpCode\n          attributeLabel\n          barcode\n          createdAt\n          height\n          index\n          inventory {\n            _id\n            canBackorder\n            inventoryInStock\n            inventoryReserved\n            isEnabled\n            lowInventoryWarningThreshold\n            productConfiguration {\n              productId\n              productVariantId\n              productErpCode\n              variantErpCode\n            }\n          }\n          isDeleted\n          isVisible\n          imageUrls\n          videoUrls\n          length\n          media {\n            URLs {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            _id\n            priority\n            productId\n            variantId\n          }\n          metafields {\n            description\n            key\n            namespace\n            scope\n            value\n            valueType\n          }\n          minOrderQuantity\n          maxOrderQuantity\n          optionTitle\n          originCountry\n          sku\n          title\n          updatedAt\n          weight\n          width\n          isTaxable\n          taxCode\n          taxDescription\n        }\n      }\n      termsAndConditions\n      chargeAttemptsPipeline {\n        attempts {\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n            nextAttemptInMinutes\n          }\n        }\n        onSuccess {\n          emails {\n            emailTemplate\n            sendToRecurringOrderCustomer\n            sendToShopOwner\n            sendTo\n          }\n        }\n        onFailure {\n          emails {\n            emailTemplate\n            sendToRecurringOrderCustomer\n            sendToShopOwner\n            sendTo\n          }\n        }\n      }\n      customerActions {\n        canSkipCycle\n        canChangeFrequency\n        canPause\n        canChangeAddress\n        canAddProducts\n        canRemoveProducts\n        canChangeProductQuantity\n      }\n    }\n    shopLogoUrls {\n      primaryShopLogoUrl\n    }\n    social {\n      instagramUrl\n      facebookUrl\n    }\n    slug\n    storefrontUrls {\n      storefrontAccountProfileUrl\n      storefrontHomeUrl\n      storefrontLoginUrl\n      storefrontOrderUrl\n      storefrontOrdersUrl\n    }\n    storeTemplateUrl\n    providers {\n      logistics\n      payment\n      products\n      checkout\n      invoice\n      erp\n      marketing\n    }\n    acceptsBoleto\n    acceptsCreditCard\n    createdAt\n    domains\n    trialRemainingDays\n    fulfillmentOptions {\n      _id\n      name\n      description\n      label\n      carrier\n      enabled\n      classification\n      type\n      shopId\n      handling {\n        value\n        isPercentage\n      }\n      constraints {\n        weight {\n          min\n          max\n        }\n        cubeWeight {\n          min\n          max\n        }\n        length {\n          min\n          max\n        }\n        height {\n          min\n          max\n        }\n        width {\n          min\n          max\n        }\n        subtotal {\n          min\n          max\n        }\n        dimensionsSum {\n          min\n          max\n        }\n        postalCoverage {\n          locationId\n          name\n          state\n          region\n          type\n          postalRange {\n            postalCodeFrom\n            postalCodeTo\n          }\n        }\n        postalOutOfCoverage {\n          locationId\n          name\n          state\n          region\n          type\n          postalRange {\n            postalCodeFrom\n            postalCodeTo\n          }\n        }\n      }\n      address {\n        address1\n        address2\n        city\n        cityCode\n        country\n        fullName\n        neighborhood\n        number\n        postal\n        region\n      }\n      additionalDaysToDeliver\n      availability {\n        days\n        startHour\n        endHour\n      }\n      createdAt\n      updatedAt\n      ordersCount\n      missingCredentials\n    }\n    settings {\n      allowLegalPersonSales\n      showOutOfStockCatalogs\n      allowAnonymousRecurringOrders\n      maxInstallments\n      threeDSActive\n      shopify {\n        storeDomain\n      }\n      unboxPayProviders\n    }\n    dashboards {\n      url\n      title\n      header\n      category\n    }\n    sitemap\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n  }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## shopBySlug\n\n**Propósito:** Retorna os dados da sua loja — identidade, branding, configuração de storefront e flags comerciais — para renderizar o cabeçalho/tema do seu canal e conhecer as capacidades da loja.\n**Quando usar:** Ao inicializar o seu storefront (logo, cores, nome, moeda, domínios, template) ou para ler a configuração pública da loja. Para as configurações operacionais detalhadas (fiscal, faturamento, callback do External Checkout), use `shopSettings`.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir da sua conta autenticada — o `slug` é derivado do seu token na borda, **não há argumento nesta operação e você não o envia**. Envie sempre um `Authorization` válido: sem ele o escopo de loja não é aplicado e a chamada falha.\n\n### Argumentos\n\nNenhum. `shopBySlug` não recebe argumentos — a loja é determinada pela sua autenticação (o `slug` vem do seu token).\n\n### Retorno\n\n`Shop` — os dados da sua loja. Principais grupos de campos:\n\n| Grupo       | Campos                                                                                                                                     | Descrição                                                                                                                                                            |\n| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Identidade  | `_id`, `name`, `slug`, `description`, `keywords`, `businessSector`, `isCompany`                                                            | Identificação e classificação da loja.                                                                                                                               |\n| Localização | `language`, `timezone`, `currency`, `unitsOfLength`, `unitsOfMeasure`, `baseUOL`, `baseUOM`                                                | Idioma, fuso, moeda e unidades.                                                                                                                                      |\n| Branding    | `brandAssets`, `shopLogoUrls`, `social`                                                                                                    | Logotipos, identidade visual e redes sociais.                                                                                                                        |\n| Storefront  | `storefrontTemplate`, `storefrontUrls`, `storeTemplateUrl`, `defaultNavigationTree`, `defaultNavigationTreeId`, `sitemap`, `tags`          | Template, URLs, árvore de navegação e sitemap do canal.                                                                                                              |\n| Comercial   | `acceptsBoleto`, `acceptsCreditCard`, `allowGuestCheckout`, `recurringOrdersPolicy`, `defaultParcelSize`, `fulfillmentOptions`, `settings` | Meios de pagamento aceitos, política de assinaturas, parcela padrão e `settings` públicos (`ShopPublicSettings`: `maxInstallments`, `showOutOfStockCatalogs`, etc.). |\n| Operacional | `domains`, `enabledTaskGroups`, `trialRemainingDays`, `shopSales`, `createdAt`                                                             | Domínios, grupos de tarefas habilitados e metadados.                                                                                                                 |\n\n> Dados internos da Unbox (qualificação de lead, onboarding, assinatura, e-mails, endereços, integrações/credenciais) **não** são expostos por esta operação. Para credenciais/configuração de gateway, elas não são retornadas por design (segurança).\n\n### Erros\n\n| Código         | Condição                             | O que fazer                                                                                       |\n| -------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `Authorization` ausente ou inválido. | Sem um token válido o escopo de loja não é derivado e a chamada falha. Refaça `signIn` e reenvie. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Retorna sempre a **sua** loja (a do token). Não é possível consultar outra loja por slug — o `slug` é injetado a partir da sua identidade autenticada, não enviado por você.\n- Para configurações operacionais (fiscal, faturamento, callback do External Checkout), prefira `shopSettings`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"c2cd5e5f-2ea7-55f6-85c5-7080d395bdad"}],"id":"3cf1b816-1bb4-4d3b-b14e-20b92e0108a6","_postman_id":"3cf1b816-1bb4-4d3b-b14e-20b92e0108a6","description":""}],"id":"4eb36411-0d32-428f-a994-cf705703a15d","description":"<h1 id=\"shops\">Shops</h1>\n<h2 id=\"statistics\">Statistics</h2>\n<ul>\n<li>Queries: 1</li>\n<li>Mutations: 0</li>\n</ul>\n","_postman_id":"4eb36411-0d32-428f-a994-cf705703a15d"},{"name":"Store Templates","item":[{"name":"Query","item":[{"name":"[Query] listCatalogDescriptionTemplates","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns listCatalogDescriptionTemplates data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"listCatalogDescriptionTemplates\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"listCatalogDescriptionTemplates returns valid array structure\", function() {","    const json = pm.response.json();","    const data = json.data.listCatalogDescriptionTemplates;","    ","    if (data !== null && Array.isArray(data) && data.length > 0) {","        const item = data[0];","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.name !== undefined && data.name !== null) {","            pm.expect(typeof data.name).to.equal(\"string\");","        }","        if (data.path !== undefined && data.path !== null) {","            pm.expect(typeof data.path).to.equal(\"string\");","        }","        if (data.productId !== undefined && data.productId !== null) {","            pm.expect(typeof data.productId).to.equal(\"string\");","        }","        if (data.erpCode !== undefined && data.erpCode !== null) {","            pm.expect(typeof data.erpCode).to.equal(\"string\");","        }","        if (data.currentHash !== undefined && data.currentHash !== null) {","            pm.expect(typeof data.currentHash).to.equal(\"string\");","        }","        if (data.publishedHash !== undefined && data.publishedHash !== null) {","            pm.expect(typeof data.publishedHash).to.equal(\"string\");","        }","        if (data.lastPublishedAt !== undefined && data.lastPublishedAt !== null) {","            pm.expect(typeof data.lastPublishedAt).to.equal(\"string\");","        }","        if (data.lastPublishedAt) {","            pm.expect(new Date(data.lastPublishedAt).toString()).to.not.equal(\"Invalid Date\");","        }","    }","});"]}}],"id":"7901c6a8-6ce1-5d33-9c31-c8b02187a640","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListCatalogDescriptionTemplates {\n  listCatalogDescriptionTemplates {\n    _id\n    name\n    path\n    productId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"listcatalogdescriptiontemplates\">listCatalogDescriptionTemplates</h2>\n<p><strong>Propósito:</strong> Lista os templates de página customizada vinculados a produtos da loja autenticada, com o status de publicação de cada um.\n<strong>Quando usar:</strong> Para auditar quais produtos têm uma página de catálogo customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Esta query não recebe nenhum argumento.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>[CatalogDescriptionTemplateListItem]</code> — array simples (<strong>não paginado</strong>). Vem vazio (<code>[]</code>) se a loja não tiver nenhum template de descrição de catálogo configurado.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>String!</code></td>\n<td>Identificador interno do template.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>String</code></td>\n<td>Nome atribuído à página do template. Segundo a definição do campo, ele é usado como título enquanto a página ainda não tem produto vinculado; depois de vinculada, a exibição normalmente passa a usar o título do próprio produto.</td>\n</tr>\n<tr>\n<td><code>path</code></td>\n<td><code>String</code></td>\n<td>Caminho (slug) onde a página fica acessível na loja.</td>\n</tr>\n<tr>\n<td><code>productId</code></td>\n<td><code>String</code></td>\n<td>ID do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por ID de produto — mutuamente exclusivo com <code>erpCode</code>.</td>\n</tr>\n<tr>\n<td><code>erpCode</code></td>\n<td><code>String</code></td>\n<td>Código ERP do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com <code>productId</code>.</td>\n</tr>\n<tr>\n<td><code>currentHash</code></td>\n<td><code>String</code></td>\n<td>Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.</td>\n</tr>\n<tr>\n<td><code>publishedHash</code></td>\n<td><code>String</code></td>\n<td>Hash do conteúdo que está publicado (no ar). Compare com <code>currentHash</code>: valores diferentes indicam alterações pendentes de publicação.</td>\n</tr>\n<tr>\n<td><code>lastPublishedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data/hora da última publicação. <code>null</code> se o template nunca foi publicado.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha, mesmo aqui.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Cada item representa um template já configurado; produtos sem template customizado não aparecem no array.</li>\n<li>Use <code>currentHash !== publishedHash</code> para saber se há alterações aguardando publicação.</li>\n<li>Exatamente um entre <code>productId</code> e <code>erpCode</code> vem preenchido por item — nunca os dois, nunca nenhum.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e257cb5b-3c0b-41f4-bdb3-bed78aae0743","name":"200 - listCatalogDescriptionTemplates","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListCatalogDescriptionTemplates {\n  listCatalogDescriptionTemplates {\n    _id\n    name\n    path\n    productId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## listCatalogDescriptionTemplates\n\n**Propósito:** Lista os templates de página customizada vinculados a produtos da loja autenticada, com o status de publicação de cada um.\n**Quando usar:** Para auditar quais produtos têm uma página de catálogo customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.\n\n### Argumentos\n\nEsta query não recebe nenhum argumento.\n\n### Retorno\n\n`[CatalogDescriptionTemplateListItem]` — array simples (**não paginado**). Vem vazio (`[]`) se a loja não tiver nenhum template de descrição de catálogo configurado.\n\n| Propriedade       | Tipo          | Descrição                                                                                                                                                                                                                           |\n| ----------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`             | `String!`     | Identificador interno do template.                                                                                                                                                                                                  |\n| `name`            | `String`      | Nome atribuído à página do template. Segundo a definição do campo, ele é usado como título enquanto a página ainda não tem produto vinculado; depois de vinculada, a exibição normalmente passa a usar o título do próprio produto. |\n| `path`            | `String`      | Caminho (slug) onde a página fica acessível na loja.                                                                                                                                                                                |\n| `productId`       | `String`      | ID do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por ID de produto — mutuamente exclusivo com `erpCode`.                                                                                            |\n| `erpCode`         | `String`      | Código ERP do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com `productId`.                                                                                     |\n| `currentHash`     | `String`      | Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.                                                                                                                                                      |\n| `publishedHash`   | `String`      | Hash do conteúdo que está publicado (no ar). Compare com `currentHash`: valores diferentes indicam alterações pendentes de publicação.                                                                                              |\n| `lastPublishedAt` | `AWSDateTime` | Data/hora da última publicação. `null` se o template nunca foi publicado.                                                                                                                                                           |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- Cada item representa um template já configurado; produtos sem template customizado não aparecem no array.\n- Use `currentHash !== publishedHash` para saber se há alterações aguardando publicação.\n- Exatamente um entre `productId` e `erpCode` vem preenchido por item — nunca os dois, nunca nenhum."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"listCatalogDescriptionTemplates\": [\n      {\n        \"_id\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"path\": \"Example_String\",\n        \"productId\": \"Example_String\",\n        \"erpCode\": \"Example_String\",\n        \"currentHash\": \"Example_String\",\n        \"publishedHash\": \"Example_String\",\n        \"lastPublishedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    ]\n  }\n}"},{"id":"fc3489e5-69f0-4abd-8c33-a210270402a1","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListCatalogDescriptionTemplates {\n  listCatalogDescriptionTemplates {\n    _id\n    name\n    path\n    productId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## listCatalogDescriptionTemplates\n\n**Propósito:** Lista os templates de página customizada vinculados a produtos da loja autenticada, com o status de publicação de cada um.\n**Quando usar:** Para auditar quais produtos têm uma página de catálogo customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.\n\n### Argumentos\n\nEsta query não recebe nenhum argumento.\n\n### Retorno\n\n`[CatalogDescriptionTemplateListItem]` — array simples (**não paginado**). Vem vazio (`[]`) se a loja não tiver nenhum template de descrição de catálogo configurado.\n\n| Propriedade       | Tipo          | Descrição                                                                                                                                                                                                                           |\n| ----------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`             | `String!`     | Identificador interno do template.                                                                                                                                                                                                  |\n| `name`            | `String`      | Nome atribuído à página do template. Segundo a definição do campo, ele é usado como título enquanto a página ainda não tem produto vinculado; depois de vinculada, a exibição normalmente passa a usar o título do próprio produto. |\n| `path`            | `String`      | Caminho (slug) onde a página fica acessível na loja.                                                                                                                                                                                |\n| `productId`       | `String`      | ID do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por ID de produto — mutuamente exclusivo com `erpCode`.                                                                                            |\n| `erpCode`         | `String`      | Código ERP do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com `productId`.                                                                                     |\n| `currentHash`     | `String`      | Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.                                                                                                                                                      |\n| `publishedHash`   | `String`      | Hash do conteúdo que está publicado (no ar). Compare com `currentHash`: valores diferentes indicam alterações pendentes de publicação.                                                                                              |\n| `lastPublishedAt` | `AWSDateTime` | Data/hora da última publicação. `null` se o template nunca foi publicado.                                                                                                                                                           |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- Cada item representa um template já configurado; produtos sem template customizado não aparecem no array.\n- Use `currentHash !== publishedHash` para saber se há alterações aguardando publicação.\n- Exatamente um entre `productId` e `erpCode` vem preenchido por item — nunca os dois, nunca nenhum."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"6e4c7618-acc2-4523-9e3f-2c554f2726cc","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListCatalogDescriptionTemplates {\n  listCatalogDescriptionTemplates {\n    _id\n    name\n    path\n    productId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## listCatalogDescriptionTemplates\n\n**Propósito:** Lista os templates de página customizada vinculados a produtos da loja autenticada, com o status de publicação de cada um.\n**Quando usar:** Para auditar quais produtos têm uma página de catálogo customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.\n\n### Argumentos\n\nEsta query não recebe nenhum argumento.\n\n### Retorno\n\n`[CatalogDescriptionTemplateListItem]` — array simples (**não paginado**). Vem vazio (`[]`) se a loja não tiver nenhum template de descrição de catálogo configurado.\n\n| Propriedade       | Tipo          | Descrição                                                                                                                                                                                                                           |\n| ----------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`             | `String!`     | Identificador interno do template.                                                                                                                                                                                                  |\n| `name`            | `String`      | Nome atribuído à página do template. Segundo a definição do campo, ele é usado como título enquanto a página ainda não tem produto vinculado; depois de vinculada, a exibição normalmente passa a usar o título do próprio produto. |\n| `path`            | `String`      | Caminho (slug) onde a página fica acessível na loja.                                                                                                                                                                                |\n| `productId`       | `String`      | ID do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por ID de produto — mutuamente exclusivo com `erpCode`.                                                                                            |\n| `erpCode`         | `String`      | Código ERP do produto dono do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com `productId`.                                                                                     |\n| `currentHash`     | `String`      | Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.                                                                                                                                                      |\n| `publishedHash`   | `String`      | Hash do conteúdo que está publicado (no ar). Compare com `currentHash`: valores diferentes indicam alterações pendentes de publicação.                                                                                              |\n| `lastPublishedAt` | `AWSDateTime` | Data/hora da última publicação. `null` se o template nunca foi publicado.                                                                                                                                                           |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- Cada item representa um template já configurado; produtos sem template customizado não aparecem no array.\n- Use `currentHash !== publishedHash` para saber se há alterações aguardando publicação.\n- Exatamente um entre `productId` e `erpCode` vem preenchido por item — nunca os dois, nunca nenhum."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"7901c6a8-6ce1-5d33-9c31-c8b02187a640"},{"name":"[Query] listTagTemplates","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns listTagTemplates data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"listTagTemplates\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"listTagTemplates returns valid array structure\", function() {","    const json = pm.response.json();","    const data = json.data.listTagTemplates;","    ","    if (data !== null && Array.isArray(data) && data.length > 0) {","        const item = data[0];","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.tagId !== undefined && data.tagId !== null) {","            pm.expect(typeof data.tagId).to.equal(\"string\");","        }","        if (data.erpCode !== undefined && data.erpCode !== null) {","            pm.expect(typeof data.erpCode).to.equal(\"string\");","        }","        if (data.currentHash !== undefined && data.currentHash !== null) {","            pm.expect(typeof data.currentHash).to.equal(\"string\");","        }","        if (data.publishedHash !== undefined && data.publishedHash !== null) {","            pm.expect(typeof data.publishedHash).to.equal(\"string\");","        }","        if (data.lastPublishedAt !== undefined && data.lastPublishedAt !== null) {","            pm.expect(typeof data.lastPublishedAt).to.equal(\"string\");","        }","        if (data.lastPublishedAt) {","            pm.expect(new Date(data.lastPublishedAt).toString()).to.not.equal(\"Invalid Date\");","        }","    }","});"]}}],"id":"aef7bca7-31bd-5e44-9bba-b3f03ba0343a","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListTagTemplates {\n  listTagTemplates {\n    _id\n    tagId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"listtagtemplates\">listTagTemplates</h2>\n<p><strong>Propósito:</strong> Lista os templates de página customizada vinculados a tags/categorias da loja autenticada, com o status de publicação de cada um.\n<strong>Quando usar:</strong> Para auditar quais tags/categorias têm uma página customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Esta query não recebe nenhum argumento.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>[TagTemplateListItem]</code> — array simples (<strong>não paginado</strong>). Vem vazio (<code>[]</code>) se a loja não tiver nenhum template de tag configurado.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>String!</code></td>\n<td>Identificador interno do template.</td>\n</tr>\n<tr>\n<td><code>tagId</code></td>\n<td><code>String</code></td>\n<td>ID da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por ID de tag — mutuamente exclusivo com <code>erpCode</code>.</td>\n</tr>\n<tr>\n<td><code>erpCode</code></td>\n<td><code>String</code></td>\n<td>Código ERP da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com <code>tagId</code>.</td>\n</tr>\n<tr>\n<td><code>currentHash</code></td>\n<td><code>String</code></td>\n<td>Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.</td>\n</tr>\n<tr>\n<td><code>publishedHash</code></td>\n<td><code>String</code></td>\n<td>Hash do conteúdo que está publicado (no ar). Compare com <code>currentHash</code>: valores diferentes indicam alterações pendentes de publicação.</td>\n</tr>\n<tr>\n<td><code>lastPublishedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data/hora da última publicação. <code>null</code> se o template nunca foi publicado.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha, mesmo aqui.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Cada item representa um template já configurado; tags/categorias sem template customizado não aparecem no array.</li>\n<li>Use <code>currentHash !== publishedHash</code> para saber se há alterações aguardando publicação.</li>\n<li>Exatamente um entre <code>tagId</code> e <code>erpCode</code> vem preenchido por item — nunca os dois, nunca nenhum.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"86773f93-27e7-4de2-be4e-69d9f318b3e6","name":"200 - listTagTemplates","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListTagTemplates {\n  listTagTemplates {\n    _id\n    tagId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## listTagTemplates\n\n**Propósito:** Lista os templates de página customizada vinculados a tags/categorias da loja autenticada, com o status de publicação de cada um.\n**Quando usar:** Para auditar quais tags/categorias têm uma página customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.\n\n### Argumentos\n\nEsta query não recebe nenhum argumento.\n\n### Retorno\n\n`[TagTemplateListItem]` — array simples (**não paginado**). Vem vazio (`[]`) se a loja não tiver nenhum template de tag configurado.\n\n| Propriedade       | Tipo          | Descrição                                                                                                                                         |\n| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`             | `String!`     | Identificador interno do template.                                                                                                                |\n| `tagId`           | `String`      | ID da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por ID de tag — mutuamente exclusivo com `erpCode`.        |\n| `erpCode`         | `String`      | Código ERP da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com `tagId`. |\n| `currentHash`     | `String`      | Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.                                                                    |\n| `publishedHash`   | `String`      | Hash do conteúdo que está publicado (no ar). Compare com `currentHash`: valores diferentes indicam alterações pendentes de publicação.            |\n| `lastPublishedAt` | `AWSDateTime` | Data/hora da última publicação. `null` se o template nunca foi publicado.                                                                         |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- Cada item representa um template já configurado; tags/categorias sem template customizado não aparecem no array.\n- Use `currentHash !== publishedHash` para saber se há alterações aguardando publicação.\n- Exatamente um entre `tagId` e `erpCode` vem preenchido por item — nunca os dois, nunca nenhum."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"listTagTemplates\": [\n      {\n        \"_id\": \"Example_String\",\n        \"tagId\": \"Example_String\",\n        \"erpCode\": \"Example_String\",\n        \"currentHash\": \"Example_String\",\n        \"publishedHash\": \"Example_String\",\n        \"lastPublishedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    ]\n  }\n}"},{"id":"7ccc539d-3e30-4c38-beb9-608a563f2616","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListTagTemplates {\n  listTagTemplates {\n    _id\n    tagId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## listTagTemplates\n\n**Propósito:** Lista os templates de página customizada vinculados a tags/categorias da loja autenticada, com o status de publicação de cada um.\n**Quando usar:** Para auditar quais tags/categorias têm uma página customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.\n\n### Argumentos\n\nEsta query não recebe nenhum argumento.\n\n### Retorno\n\n`[TagTemplateListItem]` — array simples (**não paginado**). Vem vazio (`[]`) se a loja não tiver nenhum template de tag configurado.\n\n| Propriedade       | Tipo          | Descrição                                                                                                                                         |\n| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`             | `String!`     | Identificador interno do template.                                                                                                                |\n| `tagId`           | `String`      | ID da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por ID de tag — mutuamente exclusivo com `erpCode`.        |\n| `erpCode`         | `String`      | Código ERP da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com `tagId`. |\n| `currentHash`     | `String`      | Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.                                                                    |\n| `publishedHash`   | `String`      | Hash do conteúdo que está publicado (no ar). Compare com `currentHash`: valores diferentes indicam alterações pendentes de publicação.            |\n| `lastPublishedAt` | `AWSDateTime` | Data/hora da última publicação. `null` se o template nunca foi publicado.                                                                         |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- Cada item representa um template já configurado; tags/categorias sem template customizado não aparecem no array.\n- Use `currentHash !== publishedHash` para saber se há alterações aguardando publicação.\n- Exatamente um entre `tagId` e `erpCode` vem preenchido por item — nunca os dois, nunca nenhum."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"c97682ca-33f1-41e3-9f50-e2917717d339","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ListTagTemplates {\n  listTagTemplates {\n    _id\n    tagId\n    erpCode\n    currentHash\n    publishedHash\n    lastPublishedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## listTagTemplates\n\n**Propósito:** Lista os templates de página customizada vinculados a tags/categorias da loja autenticada, com o status de publicação de cada um.\n**Quando usar:** Para auditar quais tags/categorias têm uma página customizada e se as alterações mais recentes já foram publicadas — por exemplo, antes de decidir se vale a pena avisar o lojista sobre um template com mudanças pendentes.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é resolvida a partir do token autenticado — não há argumento de loja nesta query.\n\n### Argumentos\n\nEsta query não recebe nenhum argumento.\n\n### Retorno\n\n`[TagTemplateListItem]` — array simples (**não paginado**). Vem vazio (`[]`) se a loja não tiver nenhum template de tag configurado.\n\n| Propriedade       | Tipo          | Descrição                                                                                                                                         |\n| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`             | `String!`     | Identificador interno do template.                                                                                                                |\n| `tagId`           | `String`      | ID da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por ID de tag — mutuamente exclusivo com `erpCode`.        |\n| `erpCode`         | `String`      | Código ERP da tag/categoria dona do template. Vem preenchido apenas quando o vínculo foi feito por código ERP — mutuamente exclusivo com `tagId`. |\n| `currentHash`     | `String`      | Hash do conteúdo atual do template, incluindo alterações ainda não publicadas.                                                                    |\n| `publishedHash`   | `String`      | Hash do conteúdo que está publicado (no ar). Compare com `currentHash`: valores diferentes indicam alterações pendentes de publicação.            |\n| `lastPublishedAt` | `AWSDateTime` | Data/hora da última publicação. `null` se o template nunca foi publicado.                                                                         |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                        |\n| ----------------- | --------------------------------------------- | ------------------------------------------------------------------ |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo aqui.\n\n### Notas\n\n- Cada item representa um template já configurado; tags/categorias sem template customizado não aparecem no array.\n- Use `currentHash !== publishedHash` para saber se há alterações aguardando publicação.\n- Exatamente um entre `tagId` e `erpCode` vem preenchido por item — nunca os dois, nunca nenhum."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"aef7bca7-31bd-5e44-9bba-b3f03ba0343a"}],"id":"dc4c1af7-0222-4bf8-9c1c-05b654191082","_postman_id":"dc4c1af7-0222-4bf8-9c1c-05b654191082","description":""}],"id":"15c72609-3056-442c-8080-31f6cc3f88fa","description":"<h1 id=\"store-templates\">Store Templates</h1>\n<p>Consultas somente-leitura para verificar se um produto ou uma tag/categoria da loja tem uma página customizada (template) configurada, e se as últimas alterações desse template já foram publicadas. As duas queries deste grupo não recebem argumentos e retornam arrays simples (sem paginação) — a loja é sempre a que está autenticada no token.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tipo</th>\n<th>Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CatalogDescriptionTemplateListItem</code></td>\n<td><code>_id</code>, <code>name</code>, <code>path</code>, <code>productId</code>, <code>erpCode</code>, <code>currentHash</code>, <code>publishedHash</code>, <code>lastPublishedAt</code></td>\n<td>Um template de página customizada vinculado a um produto da loja.</td>\n</tr>\n<tr>\n<td><code>TagTemplateListItem</code></td>\n<td><code>_id</code>, <code>tagId</code>, <code>erpCode</code>, <code>currentHash</code>, <code>publishedHash</code>, <code>lastPublishedAt</code></td>\n<td>Um template de página customizada vinculado a uma tag/categoria da loja.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Ambos os tipos seguem o mesmo padrão de identificação e de status de publicação:</p>\n<ul>\n<li><strong>Identificação do dono, mutuamente exclusiva:</strong> cada item é vinculado ao seu produto (ou tag) por <strong>ID</strong> ou por <strong>código ERP</strong>, nunca pelos dois ao mesmo tempo. Em <code>CatalogDescriptionTemplateListItem</code>, exatamente um entre <code>productId</code> e <code>erpCode</code> vem preenchido (o outro vem <code>null</code>). Em <code>TagTemplateListItem</code>, o mesmo vale para <code>tagId</code>/<code>erpCode</code>.</li>\n<li><strong>Status de publicação via hash:</strong> <code>currentHash</code> reflete o conteúdo mais recente do template (incluindo edições ainda não publicadas); <code>publishedHash</code> reflete o conteúdo que está de fato no ar. Quando os dois valores diferem, existem alterações pendentes de publicação. <code>lastPublishedAt</code> vem <code>null</code> se o template nunca foi publicado.</li>\n</ul>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>Somente leitura e somente status/resumo.</strong> Estas queries não retornam o conteúdo completo do template (layout, seções, etc.) — apenas os metadados acima. Não há, nesta API, operações para criar, editar ou publicar templates; se precisar disso, fale com seu contato Unbox ou use o painel administrativo da loja.</li>\n<li><strong>Sem paginação e sem filtros.</strong> Cada chamada retorna todos os templates da loja de uma vez. Se a loja tiver muitas páginas customizadas, espere arrays potencialmente grandes.</li>\n<li><strong>Produto/tag sem template customizado simplesmente não aparece no array</strong> — a ausência de um item não é um erro, apenas indica que aquele produto ou tag usa a apresentação padrão da loja.</li>\n</ul>\n","_postman_id":"15c72609-3056-442c-8080-31f6cc3f88fa"},{"name":"Tags","item":[{"name":"Query","item":[{"name":"[Query] tag","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns tag data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"tag\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"tag returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.tag;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"_id\");","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.erpCode !== undefined && data.erpCode !== null) {","            pm.expect(typeof data.erpCode).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"createdAt\");","        if (data.createdAt !== undefined && data.createdAt !== null) {","            pm.expect(typeof data.createdAt).to.equal(\"string\");","        }","        if (data.createdAt) {","            pm.expect(new Date(data.createdAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.displayTitle !== undefined && data.displayTitle !== null) {","            pm.expect(typeof data.displayTitle).to.equal(\"string\");","        }","        if (data.description !== undefined && data.description !== null) {","            pm.expect(typeof data.description).to.equal(\"string\");","        }","        if (data.featuredProductIds !== undefined && data.featuredProductIds !== null) {","            pm.expect(data.featuredProductIds).to.be.an(\"array\");","        }","        if (data.heroMedia !== undefined && data.heroMedia !== null) {","            pm.expect(data.heroMedia).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"isDeleted\");","        if (data.isDeleted !== undefined && data.isDeleted !== null) {","            pm.expect(typeof data.isDeleted).to.equal(\"boolean\");","        }","        pm.expect(data).to.have.property(\"isTopLevel\");","        if (data.isTopLevel !== undefined && data.isTopLevel !== null) {","            pm.expect(typeof data.isTopLevel).to.equal(\"boolean\");","        }","        pm.expect(data).to.have.property(\"isVisible\");","        if (data.isVisible !== undefined && data.isVisible !== null) {","            pm.expect(typeof data.isVisible).to.equal(\"boolean\");","        }","    }","});"]}}],"id":"4ed6a284-6a82-524c-b441-1575db08cb41","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Tag($slugOrId: String!, $shouldIncludeInvisible: Boolean) {\n  tag(slugOrId: $slugOrId, shouldIncludeInvisible: $shouldIncludeInvisible) {\n    _id\n    erpCode\n    createdAt\n    displayTitle\n    description\n    featuredProductIds\n    heroMedia {\n      desktop {\n        url\n        altText\n      }\n      mobile {\n        url\n        altText\n      }\n    }\n    isDeleted\n    isTopLevel\n    isVisible\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    name\n    position\n    publishedUrl\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          name\n          slug\n        }\n      }\n    }\n    }\n    slug\n    subTagIds\n    updatedAt\n    subTags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n          _id\n          name\n          slug\n        }\n    }\n  }\n  }\n}","variables":"{\n  \"slugOrId\": \"Example_String\",\n  \"shouldIncludeInvisible\": true\n}"}},"url":"{{base_url}}","description":"<p>Returns a tag from a provided tag ID or slug. Tags with isVisible set to false are excluded by default.</p>\n<p><strong>Type:</strong> 🔍 Query</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>slugOrId</code></td>\n<td><code>String!</code></td>\n<td>Slug or ID of Tag</td>\n</tr>\n<tr>\n<td><code>shouldIncludeInvisible</code></td>\n<td><code>Boolean</code></td>\n<td>Set to true if you want to include tags that have isVisible set to false (default: <code>false</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"returns\">Returns</h2>\n<p><code>Tag</code></p>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a4161743-edbc-4e5d-9553-b1e0c63ede38","name":"200 - tag","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Tag($slugOrId: String!, $shouldIncludeInvisible: Boolean) {\n  tag(slugOrId: $slugOrId, shouldIncludeInvisible: $shouldIncludeInvisible) {\n    _id\n    erpCode\n    createdAt\n    displayTitle\n    description\n    featuredProductIds\n    heroMedia {\n      desktop {\n        url\n        altText\n      }\n      mobile {\n        url\n        altText\n      }\n    }\n    isDeleted\n    isTopLevel\n    isVisible\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    name\n    position\n    publishedUrl\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          name\n          slug\n        }\n      }\n    }\n    }\n    slug\n    subTagIds\n    updatedAt\n    subTags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n          _id\n          name\n          slug\n        }\n    }\n  }\n  }\n}","variables":"{\n  \"slugOrId\": \"Example_String\",\n  \"shouldIncludeInvisible\": true\n}"}},"url":"{{base_url}}","description":"Returns a tag from a provided tag ID or slug. Tags with isVisible set to false are excluded by default.\n\n**Type:** 🔍 Query\n\n## Parameters\n\n| Name | Type | Description |\n|------|------|-------------|\n| `slugOrId` | `String!` | Slug or ID of Tag |\n| `shouldIncludeInvisible` | `Boolean` | Set to true if you want to include tags that have isVisible set to false (default: `false`) |\n\n## Returns\n\n`Tag`\n"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"tag\": {\n      \"_id\": \"Example_ID\",\n      \"erpCode\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"displayTitle\": \"Example_String\",\n      \"description\": \"Example_String\",\n      \"featuredProductIds\": [\n        \"Example_ID\"\n      ],\n      \"heroMedia\": {},\n      \"isDeleted\": true,\n      \"isTopLevel\": true,\n      \"isVisible\": true,\n      \"metafields\": [\n        {\n          \"description\": \"Example_String\",\n          \"key\": \"Example_String\",\n          \"namespace\": \"Example_String\",\n          \"scope\": \"Example_String\",\n          \"value\": 99.99,\n          \"valueType\": \"Example_String\"\n        }\n      ],\n      \"name\": \"Example_String\",\n      \"position\": 10,\n      \"publishedUrl\": \"https://exemplo.com\",\n      \"shop\": {\n        \"_id\": \"Example_ID\",\n        \"description\": \"Example_String\",\n        \"isCompany\": true,\n        \"keywords\": \"Example_String\",\n        \"name\": \"Example_String\",\n        \"slug\": \"Example_String\",\n        \"storeTemplateUrl\": \"https://exemplo.com\",\n        \"acceptsBoleto\": true,\n        \"acceptsCreditCard\": true,\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"domains\": [\n          \"Example_String\"\n        ],\n        \"trialRemainingDays\": 10,\n        \"sitemap\": \"Example_String\"\n      },\n      \"slug\": \"Example_String\",\n      \"subTagIds\": [\n        \"Example_ID\"\n      ],\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"subTags\": {\n        \"nodes\": [\n          {\n            \"_id\": \"Example_ID\",\n            \"erpCode\": \"Example_String\",\n            \"createdAt\": \"2025-01-15T10:00:00Z\",\n            \"displayTitle\": \"Example_String\",\n            \"description\": \"Example_String\",\n            \"featuredProductIds\": [\n              \"Example_ID\"\n            ],\n            \"isDeleted\": true,\n            \"isTopLevel\": true,\n            \"isVisible\": true,\n            \"name\": \"Example_String\",\n            \"position\": 10,\n            \"publishedUrl\": \"https://exemplo.com\",\n            \"slug\": \"Example_String\",\n            \"subTagIds\": [\n              \"Example_ID\"\n            ],\n            \"updatedAt\": \"2025-01-15T10:00:00Z\"\n          }\n        ],\n        \"pageInfo\": {\n          \"hasNextPage\": false,\n          \"endCursor\": null\n        },\n        \"totalCount\": 10\n      }\n    }\n  }\n}"},{"id":"adbd95e1-6d9a-41e8-9df8-4d61fde3e564","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Tag($slugOrId: String!, $shouldIncludeInvisible: Boolean) {\n  tag(slugOrId: $slugOrId, shouldIncludeInvisible: $shouldIncludeInvisible) {\n    _id\n    erpCode\n    createdAt\n    displayTitle\n    description\n    featuredProductIds\n    heroMedia {\n      desktop {\n        url\n        altText\n      }\n      mobile {\n        url\n        altText\n      }\n    }\n    isDeleted\n    isTopLevel\n    isVisible\n    metafields {\n      description\n      key\n      namespace\n      scope\n      value\n      valueType\n    }\n    name\n    position\n    publishedUrl\n    shop {\n      shopSales {\n        _id\n        code\n        conditions {\n          accountLimit\n          redemptionLimit\n          recurrenceCycleLimit\n          startDate\n          endDate\n          max\n          min\n          productType\n          tags\n          audience\n          permissions\n          products\n        }\n        description\n        discountMethod\n        label\n        transactions {\n          _id\n          account {\n            _id\n            addressBook {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n        }\n            }\n          }\n            bio\n            createdAt\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            firstName\n            language\n            lastName\n            metafields {\n              receiveNewOrderEmail\n            }\n            name\n            note\n            picture\n            preferences\n            primaryEmailAddress\n            updatedAt\n            userId\n            username\n            externalAccountId\n            isFirstAccess\n            groups {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          name\n          slug\n        }\n            }\n          }\n          }\n          cartId\n          paymentLink {\n            _id\n            referenceId\n            type\n            shopId\n            externalId\n            createdAt\n            updatedAt\n            title\n            createdBy\n            updatedBy\n            totalAmount {\n              amount\n              displayAmount\n            }\n            constraints {\n              buyerTypes\n              usageLimit\n              expirationDate\n            }\n            status\n            isSoldOut\n            isExpired\n            shipping {\n              fulfillmentType\n            }\n            description\n            items {\n              _id\n              title\n              description\n              quantity\n              productERPCode\n              variantERPCode\n            }\n            ordersCount\n            metadata {\n              successCallbackURL\n            }\n            paymentMethod\n            blockPaymentMethodChange\n            blockApplyDiscountCode\n            blockApplyShopSale\n          }\n          createdAt\n          discounts {\n            code\n            description\n            discount\n            discountMethod\n            label\n            discountedAmount {\n              amount\n              displayAmount\n            }\n          }\n          email\n          fulfillmentGroups {\n            _id\n            address {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            items {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\n              startCursor\n              endCursor\n            }\n            totalCount\n            edges {\n              cursor\n              node {\n          _id\n          title\n        }\n            }\n          }\n            shippingLabel {\n              url\n              content\n            }\n            status\n            totalItemQuantity\n            trackingCode\n            tracking {\n              code\n              url\n            }\n            type\n            taxSummary {\n              calculatedAt\n              calculatedByTaxServiceName\n              referenceId\n            }\n          }\n          notes {\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            content\n            createdAt\n            updatedAt\n          }\n          payments {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            billingAddress {\n              _id\n              alias\n              address1\n              address2\n              city\n              cityCode\n              company\n              country\n              firstName\n              fullName\n              isBillingDefault\n              isCommercial\n              isShippingDefault\n              lastName\n              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            captureErrorCode\n            captureErrorMessage\n            cardBrand\n            createdAt\n            displayName\n            isAuthorizationCanceled\n            isCaptured\n            method {\n              canRefund\n              displayName\n              isEnabled\n              name\n              pluginName\n            }\n            mode\n            processor\n            riskLevel\n            status {\n              status\n              createdAt\n              createdBy\n              triggeredBy\n            }\n            tookLossOnSale\n            transactionId\n            threeDSChallengeRequested\n            threeDSChallengePayload\n          }\n          shipping {\n            invoice {\n              url\n              status\n            }\n          }\n          shopSales {\n            _id\n            amount\n            createdAt\n            currencyCode\n            data\n            displayName\n            method\n            mode\n            name\n            paymentPluginName\n            processor\n            status\n            transactionId\n          }\n          recurringOrderId\n          recurringOrderCycleId\n          generatedNewRecurringOrder\n          recurringOrderFrequencyId\n          referenceId\n          source\n          status\n          summary {\n            discountTotal {\n              amount\n              displayAmount\n            }\n            totalSavings {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            totalWithoutDiscounts {\n              amount\n              displayAmount\n            }\n            totalWithoutAnySavings {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n          totalItemQuantity\n          updatedAt\n          invoiceIssued\n          sentToERP\n          soldToCompany\n          sentToLP\n          dispatched\n          delivered\n          problemDelivering\n          isBoletoPaid\n          shippingLabelPending\n          shippingLabelFailed\n          surcharges {\n            _id\n            amount {\n              amount\n              displayAmount\n            }\n            fulfillmentGroupId\n            surchargeDefinitionId\n          }\n        }\n        enabled\n        createdAt\n        updatedAt\n      }\n      _id\n      brandAssets {\n        navbarBrandImage {\n          large\n          medium\n          original\n          small\n          thumbnail\n        }\n        navbarBrandImageId\n      }\n      defaultParcelSize {\n        height\n        length\n        weight\n        width\n      }\n      description\n      isCompany\n      storefrontTemplate {\n        _id\n        shopId\n        createdAt\n        updatedAt\n        general {\n          logo {\n            url\n            altText\n          }\n          favicon {\n            smallImage {\n              url\n              altText\n            }\n            largeImage {\n              url\n              altText\n            }\n          }\n          primaryColor\n          buyButton {\n            backgroundColor\n            fontColor\n            hoverColor\n          }\n          SEO {\n            keywords\n            gaId\n            pixelId\n            gtmId\n            title\n            description\n          }\n          showProductInstallments\n        }\n        header {\n          headerText {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          menuItems {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n        }\n        footer {\n          backgroundColor\n          fontColor\n          footerDescription\n          aboutUs {\n            _id\n            type\n            items {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            itemsMobile {\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            maxItems\n            enabled\n            readOnly\n            title\n            subtitle\n            description\n            localPath\n            externalUrl\n            image {\n              url\n              altText\n            }\n            backgroundColor\n            fontColor\n            metadata\n          }\n          social {\n            instagram\n            facebook\n            youtube\n            pinterest\n            twitter\n            linkedin\n            whatsapp\n          }\n          contactUs {\n            firstLine\n            secondLine\n            thirdLine\n          }\n        }\n        pages {\n          home {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          termsAndConditions {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          aboutUs {\n            enabled\n            SEO {\n              title\n              description\n            }\n            components {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n        }\n      }\n      keywords\n      name\n      recurringOrdersPolicy {\n        _id\n        shopId\n        enabled\n        createdAt\n        updatedAt\n        allowedFrequencies {\n          _id\n          title\n          periodicity\n          interval\n        }\n        minDaysIntervalBetweenCycles\n        pricingPolicy {\n          type\n          value\n        }\n        keepOrderPricingPolicy\n        productsPolicy {\n          includeAllProducts\n          products {\n            compareAtPrice\n            price\n            pricing {\n              displayPrice\n              maxPrice\n              minPrice\n              price\n            }\n            _id\n            erpCode\n            attributeLabel\n            barcode\n            createdAt\n            height\n            index\n            inventory {\n              _id\n              canBackorder\n              inventoryInStock\n              inventoryReserved\n              isEnabled\n              lowInventoryWarningThreshold\n            }\n            isDeleted\n            isVisible\n            imageUrls\n            videoUrls\n            length\n            media {\n              _id\n              priority\n              productId\n              variantId\n            }\n            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            minOrderQuantity\n            maxOrderQuantity\n            optionTitle\n            originCountry\n            sku\n            title\n            updatedAt\n            weight\n            width\n            isTaxable\n            taxCode\n            taxDescription\n          }\n        }\n        termsAndConditions\n        chargeAttemptsPipeline {\n          attempts {\n            onFailure {\n              nextAttemptInMinutes\n            }\n          }\n          onSuccess {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n          onFailure {\n            emails {\n              emailTemplate\n              sendToRecurringOrderCustomer\n              sendToShopOwner\n              sendTo\n            }\n          }\n        }\n        customerActions {\n          canSkipCycle\n          canChangeFrequency\n          canPause\n          canChangeAddress\n          canAddProducts\n          canRemoveProducts\n          canChangeProductQuantity\n        }\n      }\n      shopLogoUrls {\n        primaryShopLogoUrl\n      }\n      social {\n        instagramUrl\n        facebookUrl\n      }\n      slug\n      storefrontUrls {\n        storefrontAccountProfileUrl\n        storefrontHomeUrl\n        storefrontLoginUrl\n        storefrontOrderUrl\n        storefrontOrdersUrl\n      }\n      storeTemplateUrl\n      providers {\n        logistics\n        payment\n        products\n        checkout\n        invoice\n        erp\n        marketing\n      }\n      acceptsBoleto\n      acceptsCreditCard\n      createdAt\n      domains\n      trialRemainingDays\n      fulfillmentOptions {\n        _id\n        name\n        description\n        label\n        carrier\n        enabled\n        classification\n        type\n        shopId\n        handling {\n          value\n          isPercentage\n        }\n        constraints {\n          weight {\n            min\n            max\n          }\n          cubeWeight {\n            min\n            max\n          }\n          length {\n            min\n            max\n          }\n          height {\n            min\n            max\n          }\n          width {\n            min\n            max\n          }\n          subtotal {\n            min\n            max\n          }\n          dimensionsSum {\n            min\n            max\n          }\n          postalCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n          postalOutOfCoverage {\n            locationId\n            name\n            state\n            region\n            type\n            postalRange {\n              postalCodeFrom\n              postalCodeTo\n            }\n          }\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          name\n          slug\n        }\n      }\n    }\n    }\n    slug\n    subTagIds\n    updatedAt\n    subTags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n    totalCount\n    edges {\n      cursor\n      node {\n          _id\n          name\n          slug\n        }\n    }\n  }\n  }\n}","variables":"{\n  \"slugOrId\": \"Example_String\",\n  \"shouldIncludeInvisible\": true\n}"}},"url":"{{base_url}}","description":"Returns a tag from a provided tag ID or slug. Tags with isVisible set to false are excluded by default.\n\n**Type:** 🔍 Query\n\n## Parameters\n\n| Name | Type | Description |\n|------|------|-------------|\n| `slugOrId` | `String!` | Slug or ID of Tag |\n| `shouldIncludeInvisible` | `Boolean` | Set to true if you want to include tags that have isVisible set to false (default: `false`) |\n\n## Returns\n\n`Tag`\n"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"4ed6a284-6a82-524c-b441-1575db08cb41"},{"name":"[Query] tags","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns tags data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"tags\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"tags returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.tags;","    ","    if (data !== null) {","        // Verificar pageInfo","        pm.expect(data).to.have.property(\"pageInfo\");","        pm.expect(data.pageInfo).to.have.property(\"hasNextPage\");","        pm.expect(data.pageInfo).to.have.property(\"hasPreviousPage\");","        ","        // Verificar edges ou nodes","        if (data.edges !== undefined) {","            pm.expect(data.edges).to.be.an(\"array\");","        }","        if (data.nodes !== undefined) {","            pm.expect(data.nodes).to.be.an(\"array\");","        }","    }","});"]}}],"id":"bae2dc61-1e8d-5080-b91b-62db197524cb","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Tags($filter: String, $excludedTagIds: [ID], $isTopLevel: Boolean, $shouldIncludeDeleted: Boolean, $shouldIncludeInvisible: Boolean, $after: String, $before: String, $first: Int, $last: Int, $sortOrder: SortOrder, $sortBy: TagSortByField) {\n  tags(filter: $filter, excludedTagIds: $excludedTagIds, isTopLevel: $isTopLevel, shouldIncludeDeleted: $shouldIncludeDeleted, shouldIncludeInvisible: $shouldIncludeInvisible, after: $after, before: $before, first: $first, last: $last, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n    nodes {\n      _id\n      erpCode\n      createdAt\n      displayTitle\n      description\n      featuredProductIds\n      heroMedia {\n        desktop {\n          url\n          altText\n        }\n        mobile {\n          url\n          altText\n        }\n      }\n      isDeleted\n      isTopLevel\n      isVisible\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      name\n      position\n      publishedUrl\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n      slug\n      subTagIds\n      updatedAt\n      subTags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          name\n          slug\n        }\n      }\n    }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filter\": \"Example_String\",\n  \"excludedTagIds\": [\n    \"Example_ID\"\n  ],\n  \"isTopLevel\": true,\n  \"shouldIncludeDeleted\": true,\n  \"shouldIncludeInvisible\": true,\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"tags\">tags</h2>\n<p><strong>Propósito:</strong> Retorna uma lista paginada (Relay) das tags da sua loja, com filtros por hierarquia, visibilidade, exclusão lógica e busca textual.\n<strong>Quando usar:</strong> Para descobrir/enumerar tags sem conhecer o identificador de antemão — por exemplo, listar as tags de nível raiz (<code>isTopLevel: true</code>) para montar um menu principal, ou buscar por nome/slug parcial com <code>filter</code>. Para buscar uma tag específica já conhecida, prefira <code>tag</code> (mais direto).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token de <code>signIn</code>). O <code>shopId</code> é injetado a partir do seu token — não envie.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filter</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Busca por substring (case-insensitive) em <code>name</code> e <code>slug</code> simultaneamente. Não é regex livre: caracteres especiais de regex (<code>.</code>, <code>*</code>, <code>^</code>, etc.) enviados em <code>filter</code> são tratados como texto literal, não como wildcard.</td>\n</tr>\n<tr>\n<td><code>excludedTagIds</code></td>\n<td><code>[ID]</code></td>\n<td>Não</td>\n<td>—</td>\n<td>IDs de tags a excluir do resultado.</td>\n</tr>\n<tr>\n<td><code>isTopLevel</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Se enviado, filtra apenas tags de nível raiz (<code>true</code>) ou apenas tags que não são de nível raiz (<code>false</code>). Se omitido, retorna ambos os tipos.</td>\n</tr>\n<tr>\n<td><code>shouldIncludeDeleted</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Se <code>true</code>, inclui tags com <code>isDeleted: true</code> no resultado.</td>\n</tr>\n<tr>\n<td><code>shouldIncludeInvisible</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td>Se <code>true</code>, inclui tags com <code>isVisible: false</code> no resultado.</td>\n</tr>\n<tr>\n<td><code>after</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor: retorna apenas resultados após este cursor. Use com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>before</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cursor: retorna apenas resultados antes deste cursor. Use com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>first</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados, a partir do início (ou de <code>after</code>). Não combine com <code>last</code>.</td>\n</tr>\n<tr>\n<td><code>last</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Quantidade máxima de resultados, a partir do fim (ou antes de <code>before</code>). Não combine com <code>first</code>.</td>\n</tr>\n<tr>\n<td><code>sortOrder</code></td>\n<td><code>SortOrder</code> (<code>asc</code>/<code>desc</code>)</td>\n<td>Não</td>\n<td><code>asc</code></td>\n<td>Direção da ordenação.</td>\n</tr>\n<tr>\n<td><code>sortBy</code></td>\n<td><code>TagSortByField</code></td>\n<td>Não</td>\n<td><code>position</code></td>\n<td>Campo de ordenação (<code>_id</code>, <code>createdAt</code>, <code>name</code>, <code>position</code>, <code>updatedAt</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>TagConnection</code> — connection Relay cujos <code>nodes</code>/<code>edges.node</code> seguem exatamente os mesmos campos de <code>Tag</code> documentados na operação <code>tag</code> (<code>_id</code>, <code>name</code>, <code>slug</code>, <code>displayTitle</code>, <code>isTopLevel</code>, <code>isVisible</code>, <code>isDeleted</code>, <code>subTagIds</code>, <code>position</code>, etc.).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>nodes</code></td>\n<td><code>[Tag]</code></td>\n<td>Atalho com os itens da página atual, sem o wrapper de cursor.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[TagEdge]</code></td>\n<td>Itens da página com cursor individual.</td>\n</tr>\n<tr>\n<td><code>edges[].cursor</code></td>\n<td><code>String!</code></td>\n<td>Cursor daquele item — use em <code>after</code>/<code>before</code> de chamadas seguintes.</td>\n</tr>\n<tr>\n<td><code>edges[].node</code></td>\n<td><code>Tag</code></td>\n<td>O objeto tag (mesmos campos documentados em <code>tag</code>).</td>\n</tr>\n<tr>\n<td><code>pageInfo</code></td>\n<td><code>PageInfo!</code></td>\n<td>Metadados de paginação.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasNextPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há mais resultados após esta página.</td>\n</tr>\n<tr>\n<td><code>pageInfo.hasPreviousPage</code></td>\n<td><code>Boolean!</code></td>\n<td>Se há resultados antes desta página.</td>\n</tr>\n<tr>\n<td><code>pageInfo.startCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do primeiro item da página.</td>\n</tr>\n<tr>\n<td><code>pageInfo.endCursor</code></td>\n<td><code>String</code></td>\n<td>Cursor do último item da página.</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td><code>Int!</code></td>\n<td>Total de tags que correspondem aos filtros, ignorando a paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td><code>access_token</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code> e <code>last</code> enviados na mesma chamada.</td>\n<td>Envie apenas um dos dois — <code>first</code>/<code>after</code> para avançar, <code>last</code>/<code>before</code> para retroceder.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio. O conflito <code>first</code>+<code>last</code> chega como um erro de validação com mensagem descritiva, sem <code>extensions.code</code> estável — identifique-o por <code>errors[].message</code>.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sem argumento para \"filhas de uma tag\".</strong> Não há um filtro tipo <code>parentTagId</code>. Para montar a árvore de hierarquia, use <code>subTagIds</code> da tag pai (obtida via <code>tag</code> ou dentro de <code>nodes</code> desta query) e busque cada filha com <code>tag(slugOrId: &lt;id&gt;)</code>, ou traga todas as tags de uma vez e cruze <code>_id</code> com <code>subTagIds</code> do seu lado.</li>\n<li><strong>Página padrão de 20 itens.</strong> Se nem <code>first</code> nem <code>last</code> forem enviados, a resposta é limitada a 20 resultados.</li>\n<li><strong>Ordenação padrão por <code>position</code>, não por data.</strong> Se você espera ordem cronológica, envie <code>sortBy: createdAt</code> (ou <code>updatedAt</code>) explicitamente.</li>\n<li><strong><code>shouldIncludeDeleted</code> e <code>shouldIncludeInvisible</code> são independentes</strong> — para trazer o catálogo completo de tags (incluindo excluídas e invisíveis), envie ambos como <code>true</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3b89c2ac-6239-4eda-9f1a-f7123b98d36f","name":"200 - tags","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Tags($filter: String, $excludedTagIds: [ID], $isTopLevel: Boolean, $shouldIncludeDeleted: Boolean, $shouldIncludeInvisible: Boolean, $after: String, $before: String, $first: Int, $last: Int, $sortOrder: SortOrder, $sortBy: TagSortByField) {\n  tags(filter: $filter, excludedTagIds: $excludedTagIds, isTopLevel: $isTopLevel, shouldIncludeDeleted: $shouldIncludeDeleted, shouldIncludeInvisible: $shouldIncludeInvisible, after: $after, before: $before, first: $first, last: $last, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n    nodes {\n      _id\n      erpCode\n      createdAt\n      displayTitle\n      description\n      featuredProductIds\n      heroMedia {\n        desktop {\n          url\n          altText\n        }\n        mobile {\n          url\n          altText\n        }\n      }\n      isDeleted\n      isTopLevel\n      isVisible\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      name\n      position\n      publishedUrl\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n      slug\n      subTagIds\n      updatedAt\n      subTags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          name\n          slug\n        }\n      }\n    }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filter\": \"Example_String\",\n  \"excludedTagIds\": [\n    \"Example_ID\"\n  ],\n  \"isTopLevel\": true,\n  \"shouldIncludeDeleted\": true,\n  \"shouldIncludeInvisible\": true,\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## tags\n\n**Propósito:** Retorna uma lista paginada (Relay) das tags da sua loja, com filtros por hierarquia, visibilidade, exclusão lógica e busca textual.\n**Quando usar:** Para descobrir/enumerar tags sem conhecer o identificador de antemão — por exemplo, listar as tags de nível raiz (`isTopLevel: true`) para montar um menu principal, ou buscar por nome/slug parcial com `filter`. Para buscar uma tag específica já conhecida, prefira `tag` (mais direto).\n**Autenticação:** `x-api-key` + `Authorization` (token de `signIn`). O `shopId` é injetado a partir do seu token — não envie.\n\n### Argumentos\n\n| Nome                     | Tipo                       | Obrigatório | Default    | Descrição                                                                                                                                                                                                                  |\n| ------------------------ | -------------------------- | ----------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filter`                 | `String`                   | Não         | —          | Busca por substring (case-insensitive) em `name` e `slug` simultaneamente. Não é regex livre: caracteres especiais de regex (`.`, `*`, `^`, etc.) enviados em `filter` são tratados como texto literal, não como wildcard. |\n| `excludedTagIds`         | `[ID]`                     | Não         | —          | IDs de tags a excluir do resultado.                                                                                                                                                                                        |\n| `isTopLevel`             | `Boolean`                  | Não         | —          | Se enviado, filtra apenas tags de nível raiz (`true`) ou apenas tags que não são de nível raiz (`false`). Se omitido, retorna ambos os tipos.                                                                              |\n| `shouldIncludeDeleted`   | `Boolean`                  | Não         | `false`    | Se `true`, inclui tags com `isDeleted: true` no resultado.                                                                                                                                                                 |\n| `shouldIncludeInvisible` | `Boolean`                  | Não         | `false`    | Se `true`, inclui tags com `isVisible: false` no resultado.                                                                                                                                                                |\n| `after`                  | `String`                   | Não         | —          | Cursor: retorna apenas resultados após este cursor. Use com `first`.                                                                                                                                                       |\n| `before`                 | `String`                   | Não         | —          | Cursor: retorna apenas resultados antes deste cursor. Use com `last`.                                                                                                                                                      |\n| `first`                  | `Int`                      | Não         | —          | Quantidade máxima de resultados, a partir do início (ou de `after`). Não combine com `last`.                                                                                                                               |\n| `last`                   | `Int`                      | Não         | —          | Quantidade máxima de resultados, a partir do fim (ou antes de `before`). Não combine com `first`.                                                                                                                          |\n| `sortOrder`              | `SortOrder` (`asc`/`desc`) | Não         | `asc`      | Direção da ordenação.                                                                                                                                                                                                      |\n| `sortBy`                 | `TagSortByField`           | Não         | `position` | Campo de ordenação (`_id`, `createdAt`, `name`, `position`, `updatedAt`).                                                                                                                                                  |\n\n### Retorno\n\n`TagConnection` — connection Relay cujos `nodes`/`edges.node` seguem exatamente os mesmos campos de `Tag` documentados na operação `tag` (`_id`, `name`, `slug`, `displayTitle`, `isTopLevel`, `isVisible`, `isDeleted`, `subTagIds`, `position`, etc.).\n\n| Propriedade                | Tipo        | Descrição                                                            |\n| -------------------------- | ----------- | -------------------------------------------------------------------- |\n| `nodes`                    | `[Tag]`     | Atalho com os itens da página atual, sem o wrapper de cursor.        |\n| `edges`                    | `[TagEdge]` | Itens da página com cursor individual.                               |\n| `edges[].cursor`           | `String!`   | Cursor daquele item — use em `after`/`before` de chamadas seguintes. |\n| `edges[].node`             | `Tag`       | O objeto tag (mesmos campos documentados em `tag`).                  |\n| `pageInfo`                 | `PageInfo!` | Metadados de paginação.                                              |\n| `pageInfo.hasNextPage`     | `Boolean!`  | Se há mais resultados após esta página.                              |\n| `pageInfo.hasPreviousPage` | `Boolean!`  | Se há resultados antes desta página.                                 |\n| `pageInfo.startCursor`     | `String`    | Cursor do primeiro item da página.                                   |\n| `pageInfo.endCursor`       | `String`    | Cursor do último item da página.                                     |\n| `totalCount`               | `Int!`      | Total de tags que correspondem aos filtros, ignorando a paginação.   |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                               |\n| ----------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                        |\n| _(sem código)_    | `first` e `last` enviados na mesma chamada.   | Envie apenas um dos dois — `first`/`after` para avançar, `last`/`before` para retroceder. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. O conflito `first`+`last` chega como um erro de validação com mensagem descritiva, sem `extensions.code` estável — identifique-o por `errors[].message`.\n\n### Notas\n\n- **Sem argumento para \"filhas de uma tag\".** Não há um filtro tipo `parentTagId`. Para montar a árvore de hierarquia, use `subTagIds` da tag pai (obtida via `tag` ou dentro de `nodes` desta query) e busque cada filha com `tag(slugOrId: <id>)`, ou traga todas as tags de uma vez e cruze `_id` com `subTagIds` do seu lado.\n- **Página padrão de 20 itens.** Se nem `first` nem `last` forem enviados, a resposta é limitada a 20 resultados.\n- **Ordenação padrão por `position`, não por data.** Se você espera ordem cronológica, envie `sortBy: createdAt` (ou `updatedAt`) explicitamente.\n- **`shouldIncludeDeleted` e `shouldIncludeInvisible` são independentes** — para trazer o catálogo completo de tags (incluindo excluídas e invisíveis), envie ambos como `true`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"tags\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"erpCode\": \"Example_String\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"displayTitle\": \"Example_String\",\n          \"description\": \"Example_String\",\n          \"featuredProductIds\": [\n            \"Example_ID\"\n          ],\n          \"isDeleted\": true,\n          \"isTopLevel\": true,\n          \"isVisible\": true,\n          \"name\": \"Example_String\",\n          \"position\": 10,\n          \"publishedUrl\": \"https://exemplo.com\",\n          \"slug\": \"Example_String\",\n          \"subTagIds\": [\n            \"Example_ID\"\n          ],\n          \"updatedAt\": \"2025-01-15T10:00:00Z\"\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"e22e7149-e992-4343-a7d7-8292ef853f36","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Tags($filter: String, $excludedTagIds: [ID], $isTopLevel: Boolean, $shouldIncludeDeleted: Boolean, $shouldIncludeInvisible: Boolean, $after: String, $before: String, $first: Int, $last: Int, $sortOrder: SortOrder, $sortBy: TagSortByField) {\n  tags(filter: $filter, excludedTagIds: $excludedTagIds, isTopLevel: $isTopLevel, shouldIncludeDeleted: $shouldIncludeDeleted, shouldIncludeInvisible: $shouldIncludeInvisible, after: $after, before: $before, first: $first, last: $last, sortOrder: $sortOrder, sortBy: $sortBy) {\n    edges {\n      cursor\n      node {\n        _id\n        erpCode\n        createdAt\n        displayTitle\n        description\n        featuredProductIds\n        heroMedia {\n          desktop {\n            url\n            altText\n          }\n          mobile {\n            url\n            altText\n          }\n        }\n        isDeleted\n        isTopLevel\n        isVisible\n        metafields {\n          description\n          key\n          namespace\n          scope\n          value\n          valueType\n        }\n        name\n        position\n        publishedUrl\n        shop {\n          shopSales {\n            _id\n            code\n            conditions {\n              accountLimit\n              redemptionLimit\n              recurrenceCycleLimit\n              startDate\n              endDate\n              max\n              min\n              productType\n              tags\n              audience\n              permissions\n              products\n            }\n            description\n            discountMethod\n            label\n            transactions {\n              _id\n              cartId\n              createdAt\n              email\n              recurringOrderId\n              recurringOrderCycleId\n              generatedNewRecurringOrder\n              recurringOrderFrequencyId\n              referenceId\n              source\n              status\n              totalItemQuantity\n              updatedAt\n              invoiceIssued\n              sentToERP\n              soldToCompany\n              sentToLP\n              dispatched\n              delivered\n              problemDelivering\n              isBoletoPaid\n              shippingLabelPending\n              shippingLabelFailed\n            }\n            enabled\n            createdAt\n            updatedAt\n          }\n          _id\n          brandAssets {\n            navbarBrandImage {\n              large\n              medium\n              original\n              small\n              thumbnail\n            }\n            navbarBrandImageId\n          }\n          defaultParcelSize {\n            height\n            length\n            weight\n            width\n          }\n          description\n          isCompany\n          storefrontTemplate {\n            _id\n            shopId\n            createdAt\n            updatedAt\n            general {\n              primaryColor\n              showProductInstallments\n            }\n            footer {\n              backgroundColor\n              fontColor\n              footerDescription\n            }\n          }\n          keywords\n          name\n          recurringOrdersPolicy {\n            _id\n            shopId\n            enabled\n            createdAt\n            updatedAt\n            allowedFrequencies {\n              _id\n              title\n              periodicity\n              interval\n            }\n            minDaysIntervalBetweenCycles\n            pricingPolicy {\n              type\n              value\n            }\n            keepOrderPricingPolicy\n            productsPolicy {\n              includeAllProducts\n            }\n            termsAndConditions\n            customerActions {\n              canSkipCycle\n              canChangeFrequency\n              canPause\n              canChangeAddress\n              canAddProducts\n              canRemoveProducts\n              canChangeProductQuantity\n            }\n          }\n          shopLogoUrls {\n            primaryShopLogoUrl\n          }\n          social {\n            instagramUrl\n            facebookUrl\n          }\n          slug\n          storefrontUrls {\n            storefrontAccountProfileUrl\n            storefrontHomeUrl\n            storefrontLoginUrl\n            storefrontOrderUrl\n            storefrontOrdersUrl\n          }\n          storeTemplateUrl\n          providers {\n            logistics\n            payment\n            products\n            checkout\n            invoice\n            erp\n            marketing\n          }\n          acceptsBoleto\n          acceptsCreditCard\n          createdAt\n          domains\n          trialRemainingDays\n          fulfillmentOptions {\n            _id\n            name\n            description\n            label\n            carrier\n            enabled\n            classification\n            type\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          edges {\n            cursor\n            node {\n          _id\n          name\n          slug\n        }\n          }\n        }\n        }\n        slug\n        subTagIds\n        updatedAt\n        subTags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n    }\n    nodes {\n      _id\n      erpCode\n      createdAt\n      displayTitle\n      description\n      featuredProductIds\n      heroMedia {\n        desktop {\n          url\n          altText\n        }\n        mobile {\n          url\n          altText\n        }\n      }\n      isDeleted\n      isTopLevel\n      isVisible\n      metafields {\n        description\n        key\n        namespace\n        scope\n        value\n        valueType\n      }\n      name\n      position\n      publishedUrl\n      shop {\n        shopSales {\n          _id\n          code\n          conditions {\n            accountLimit\n            redemptionLimit\n            recurrenceCycleLimit\n            startDate\n            endDate\n            max\n            min\n            productType\n            tags\n            audience\n            permissions\n            products\n          }\n          description\n          discountMethod\n          label\n          transactions {\n            _id\n            account {\n              _id\n              addressBook {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n        }\n              }\n            }\n              bio\n              createdAt\n              firstName\n              language\n              lastName\n              name\n              note\n              picture\n              preferences\n              primaryEmailAddress\n              updatedAt\n              userId\n              username\n              externalAccountId\n              isFirstAccess\n              groups {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          name\n          slug\n        }\n              }\n            }\n            }\n            cartId\n            paymentLink {\n              _id\n              referenceId\n              type\n              shopId\n              externalId\n              createdAt\n              updatedAt\n              title\n              createdBy\n              updatedBy\n              status\n              isSoldOut\n              isExpired\n              description\n              ordersCount\n              paymentMethod\n              blockPaymentMethodChange\n              blockApplyDiscountCode\n              blockApplyShopSale\n            }\n            createdAt\n            discounts {\n              code\n              description\n              discount\n              discountMethod\n              label\n            }\n            email\n            fulfillmentGroups {\n              _id\n              items {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\n                startCursor\n                endCursor\n              }\n              totalCount\n              edges {\n                cursor\n                node {\n          _id\n          title\n        }\n              }\n            }\n              status\n              totalItemQuantity\n              trackingCode\n              type\n            }\n            notes {\n              content\n              createdAt\n              updatedAt\n            }\n            payments {\n              _id\n              captureErrorCode\n              captureErrorMessage\n              cardBrand\n              createdAt\n              displayName\n              isAuthorizationCanceled\n              isCaptured\n              mode\n              processor\n              riskLevel\n              tookLossOnSale\n              transactionId\n              threeDSChallengeRequested\n              threeDSChallengePayload\n            }\n            shopSales {\n              _id\n              amount\n              createdAt\n              currencyCode\n              data\n              displayName\n              method\n              mode\n              name\n              paymentPluginName\n              processor\n              status\n              transactionId\n            }\n            recurringOrderId\n            recurringOrderCycleId\n            generatedNewRecurringOrder\n            recurringOrderFrequencyId\n            referenceId\n            source\n            status\n            totalItemQuantity\n            updatedAt\n            invoiceIssued\n            sentToERP\n            soldToCompany\n            sentToLP\n            dispatched\n            delivered\n            problemDelivering\n            isBoletoPaid\n            shippingLabelPending\n            shippingLabelFailed\n            surcharges {\n              _id\n              fulfillmentGroupId\n              surchargeDefinitionId\n            }\n          }\n          enabled\n          createdAt\n          updatedAt\n        }\n        _id\n        brandAssets {\n          navbarBrandImage {\n            large\n            medium\n            original\n            small\n            thumbnail\n          }\n          navbarBrandImageId\n        }\n        defaultParcelSize {\n          height\n          length\n          weight\n          width\n        }\n        description\n        isCompany\n        storefrontTemplate {\n          _id\n          shopId\n          createdAt\n          updatedAt\n          general {\n            logo {\n              url\n              altText\n            }\n            primaryColor\n            buyButton {\n              backgroundColor\n              fontColor\n              hoverColor\n            }\n            SEO {\n              keywords\n              gaId\n              pixelId\n              gtmId\n              title\n              description\n            }\n            showProductInstallments\n          }\n          header {\n            headerText {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            menuItems {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n          }\n          footer {\n            backgroundColor\n            fontColor\n            footerDescription\n            aboutUs {\n              _id\n              type\n              maxItems\n              enabled\n              readOnly\n              title\n              subtitle\n              description\n              localPath\n              externalUrl\n              backgroundColor\n              fontColor\n              metadata\n            }\n            social {\n              instagram\n              facebook\n              youtube\n              pinterest\n              twitter\n              linkedin\n              whatsapp\n            }\n            contactUs {\n              firstLine\n              secondLine\n              thirdLine\n            }\n          }\n          pages {\n            home {\n              enabled\n            }\n            termsAndConditions {\n              enabled\n            }\n            aboutUs {\n              enabled\n            }\n          }\n        }\n        keywords\n        name\n        recurringOrdersPolicy {\n          _id\n          shopId\n          enabled\n          createdAt\n          updatedAt\n          allowedFrequencies {\n            _id\n            title\n            periodicity\n            interval\n          }\n          minDaysIntervalBetweenCycles\n          pricingPolicy {\n            type\n            value\n          }\n          keepOrderPricingPolicy\n          productsPolicy {\n            includeAllProducts\n            products {\n              compareAtPrice\n              price\n              _id\n              erpCode\n              attributeLabel\n              barcode\n              createdAt\n              height\n              index\n              isDeleted\n              isVisible\n              imageUrls\n              videoUrls\n              length\n              minOrderQuantity\n              maxOrderQuantity\n              optionTitle\n              originCountry\n              sku\n              title\n              updatedAt\n              weight\n              width\n              isTaxable\n              taxCode\n              taxDescription\n            }\n          }\n          termsAndConditions\n          customerActions {\n            canSkipCycle\n            canChangeFrequency\n            canPause\n            canChangeAddress\n            canAddProducts\n            canRemoveProducts\n            canChangeProductQuantity\n          }\n        }\n        shopLogoUrls {\n          primaryShopLogoUrl\n        }\n        social {\n          instagramUrl\n          facebookUrl\n        }\n        slug\n        storefrontUrls {\n          storefrontAccountProfileUrl\n          storefrontHomeUrl\n          storefrontLoginUrl\n          storefrontOrderUrl\n          storefrontOrdersUrl\n        }\n        storeTemplateUrl\n        providers {\n          logistics\n          payment\n          products\n          checkout\n          invoice\n          erp\n          marketing\n        }\n        acceptsBoleto\n        acceptsCreditCard\n        createdAt\n        domains\n        trialRemainingDays\n        fulfillmentOptions {\n          _id\n          name\n          description\n          label\n          carrier\n          enabled\n          classification\n          type\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            weight {\n              min\n              max\n            }\n            cubeWeight {\n              min\n              max\n            }\n            length {\n              min\n              max\n            }\n            height {\n              min\n              max\n            }\n            width {\n              min\n              max\n            }\n            subtotal {\n              min\n              max\n            }\n            dimensionsSum {\n              min\n              max\n            }\n            postalCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n            postalOutOfCoverage {\n              locationId\n              name\n              state\n              region\n              type\n            }\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        edges {\n          cursor\n          node {\n          _id\n          name\n          slug\n        }\n        }\n      }\n      }\n      slug\n      subTagIds\n      updatedAt\n      subTags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\n        endCursor\n      }\n      totalCount\n      edges {\n        cursor\n        node {\n          _id\n          name\n          slug\n        }\n      }\n    }\n    }\n    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filter\": \"Example_String\",\n  \"excludedTagIds\": [\n    \"Example_ID\"\n  ],\n  \"isTopLevel\": true,\n  \"shouldIncludeDeleted\": true,\n  \"shouldIncludeInvisible\": true,\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"_id\"\n}"}},"url":"{{base_url}}","description":"## tags\n\n**Propósito:** Retorna uma lista paginada (Relay) das tags da sua loja, com filtros por hierarquia, visibilidade, exclusão lógica e busca textual.\n**Quando usar:** Para descobrir/enumerar tags sem conhecer o identificador de antemão — por exemplo, listar as tags de nível raiz (`isTopLevel: true`) para montar um menu principal, ou buscar por nome/slug parcial com `filter`. Para buscar uma tag específica já conhecida, prefira `tag` (mais direto).\n**Autenticação:** `x-api-key` + `Authorization` (token de `signIn`). O `shopId` é injetado a partir do seu token — não envie.\n\n### Argumentos\n\n| Nome                     | Tipo                       | Obrigatório | Default    | Descrição                                                                                                                                                                                                                  |\n| ------------------------ | -------------------------- | ----------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filter`                 | `String`                   | Não         | —          | Busca por substring (case-insensitive) em `name` e `slug` simultaneamente. Não é regex livre: caracteres especiais de regex (`.`, `*`, `^`, etc.) enviados em `filter` são tratados como texto literal, não como wildcard. |\n| `excludedTagIds`         | `[ID]`                     | Não         | —          | IDs de tags a excluir do resultado.                                                                                                                                                                                        |\n| `isTopLevel`             | `Boolean`                  | Não         | —          | Se enviado, filtra apenas tags de nível raiz (`true`) ou apenas tags que não são de nível raiz (`false`). Se omitido, retorna ambos os tipos.                                                                              |\n| `shouldIncludeDeleted`   | `Boolean`                  | Não         | `false`    | Se `true`, inclui tags com `isDeleted: true` no resultado.                                                                                                                                                                 |\n| `shouldIncludeInvisible` | `Boolean`                  | Não         | `false`    | Se `true`, inclui tags com `isVisible: false` no resultado.                                                                                                                                                                |\n| `after`                  | `String`                   | Não         | —          | Cursor: retorna apenas resultados após este cursor. Use com `first`.                                                                                                                                                       |\n| `before`                 | `String`                   | Não         | —          | Cursor: retorna apenas resultados antes deste cursor. Use com `last`.                                                                                                                                                      |\n| `first`                  | `Int`                      | Não         | —          | Quantidade máxima de resultados, a partir do início (ou de `after`). Não combine com `last`.                                                                                                                               |\n| `last`                   | `Int`                      | Não         | —          | Quantidade máxima de resultados, a partir do fim (ou antes de `before`). Não combine com `first`.                                                                                                                          |\n| `sortOrder`              | `SortOrder` (`asc`/`desc`) | Não         | `asc`      | Direção da ordenação.                                                                                                                                                                                                      |\n| `sortBy`                 | `TagSortByField`           | Não         | `position` | Campo de ordenação (`_id`, `createdAt`, `name`, `position`, `updatedAt`).                                                                                                                                                  |\n\n### Retorno\n\n`TagConnection` — connection Relay cujos `nodes`/`edges.node` seguem exatamente os mesmos campos de `Tag` documentados na operação `tag` (`_id`, `name`, `slug`, `displayTitle`, `isTopLevel`, `isVisible`, `isDeleted`, `subTagIds`, `position`, etc.).\n\n| Propriedade                | Tipo        | Descrição                                                            |\n| -------------------------- | ----------- | -------------------------------------------------------------------- |\n| `nodes`                    | `[Tag]`     | Atalho com os itens da página atual, sem o wrapper de cursor.        |\n| `edges`                    | `[TagEdge]` | Itens da página com cursor individual.                               |\n| `edges[].cursor`           | `String!`   | Cursor daquele item — use em `after`/`before` de chamadas seguintes. |\n| `edges[].node`             | `Tag`       | O objeto tag (mesmos campos documentados em `tag`).                  |\n| `pageInfo`                 | `PageInfo!` | Metadados de paginação.                                              |\n| `pageInfo.hasNextPage`     | `Boolean!`  | Se há mais resultados após esta página.                              |\n| `pageInfo.hasPreviousPage` | `Boolean!`  | Se há resultados antes desta página.                                 |\n| `pageInfo.startCursor`     | `String`    | Cursor do primeiro item da página.                                   |\n| `pageInfo.endCursor`       | `String`    | Cursor do último item da página.                                     |\n| `totalCount`               | `Int!`      | Total de tags que correspondem aos filtros, ignorando a paginação.   |\n\n### Erros\n\n| Código            | Condição                                      | O que fazer                                                                               |\n| ----------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR` | `access_token` ausente, inválido ou expirado. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                        |\n| _(sem código)_    | `first` e `last` enviados na mesma chamada.   | Envie apenas um dos dois — `first`/`after` para avançar, `last`/`before` para retroceder. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. O conflito `first`+`last` chega como um erro de validação com mensagem descritiva, sem `extensions.code` estável — identifique-o por `errors[].message`.\n\n### Notas\n\n- **Sem argumento para \"filhas de uma tag\".** Não há um filtro tipo `parentTagId`. Para montar a árvore de hierarquia, use `subTagIds` da tag pai (obtida via `tag` ou dentro de `nodes` desta query) e busque cada filha com `tag(slugOrId: <id>)`, ou traga todas as tags de uma vez e cruze `_id` com `subTagIds` do seu lado.\n- **Página padrão de 20 itens.** Se nem `first` nem `last` forem enviados, a resposta é limitada a 20 resultados.\n- **Ordenação padrão por `position`, não por data.** Se você espera ordem cronológica, envie `sortBy: createdAt` (ou `updatedAt`) explicitamente.\n- **`shouldIncludeDeleted` e `shouldIncludeInvisible` são independentes** — para trazer o catálogo completo de tags (incluindo excluídas e invisíveis), envie ambos como `true`."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"bae2dc61-1e8d-5080-b91b-62db197524cb"}],"id":"1a0461d5-a9f7-45ef-930c-fec5742e57c8","_postman_id":"1a0461d5-a9f7-45ef-930c-fec5742e57c8","description":""}],"id":"1ccaa475-16e9-4720-8bad-734dc000b26d","description":"<h1 id=\"tags\">Tags</h1>\n<p>Consultas somente-leitura para as tags (categorias) do seu catálogo. Uma tag organiza produtos em um agrupamento temático — usado tipicamente para montar páginas de navegação, vitrines por categoria e páginas de listagem de produtos. <code>tag</code> busca uma tag específica por ID ou slug; <code>tags</code> lista/filtra as tags da loja com paginação Relay.</p>\n<h2 id=\"conceitos\">Conceitos</h2>\n<ul>\n<li><strong>Hierarquia.</strong> Tags podem ter \"tags filhas\" (subtags), formando uma árvore de até três níveis: raiz → filhas → netas (não há um quarto nível). <code>isTopLevel: true</code> marca uma tag como pertencente ao nível raiz. <code>subTagIds</code> é a lista ordenada dos IDs das tags filhas diretas de uma tag — é assim que você desce um nível na hierarquia.</li>\n<li><strong>Sem operação dedicada para \"listar filhas\".</strong> Não existe um argumento tipo <code>parentTagId</code> em <code>tags</code>. Para montar a árvore, busque a tag pai (por <code>tag</code> ou dentro dos <code>nodes</code> de <code>tags</code>), leia seu <code>subTagIds</code>, e busque cada filha individualmente via <code>tag(slugOrId: &lt;id&gt;)</code> — ou traga todas as tags de uma vez com <code>tags</code> e monte a árvore do seu lado cruzando <code>_id</code> com <code>subTagIds</code>.</li>\n<li><strong>Ordem entre tags irmãs.</strong> <code>position</code> define a ordem de exibição de uma tag em relação às outras do mesmo nível da hierarquia — é também o critério de ordenação padrão de <code>tags</code>.</li>\n<li><strong>Visibilidade (<code>isVisible</code>) e exclusão lógica (<code>isDeleted</code>).</strong> Uma tag com <code>isVisible: false</code> não deveria ser exibida publicamente (ex.: página de categoria ainda não publicada). Uma tag com <code>isDeleted: true</code> foi excluída (soft-delete). Por padrão, tags invisíveis e excluídas ficam de fora dos resultados — cada operação documenta como habilitar cada inclusão (ver páginas de <code>tag</code>/<code>tags</code>).</li>\n</ul>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Enum/Tipo</th>\n<th>Valores</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>TagSortByField</code></td>\n<td><code>_id</code>, <code>createdAt</code>, <code>name</code>, <code>position</code>, <code>updatedAt</code></td>\n<td>Campo de ordenação usado por <code>tags</code>. Se omitido, a ordenação padrão é por <code>position</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong><code>shopId</code> injetado na borda.</strong> Nem <code>tag</code> nem <code>tags</code> recebem <code>shopId</code> como argumento — ele é derivado automaticamente do seu <code>access_token</code> no momento da chamada. Basta autenticar com <code>Authorization</code> válido.</li>\n<li><strong>Paginação Relay em <code>tags</code>.</strong> Retorna uma connection com <code>edges</code> (<code>{ cursor, node }</code>), <code>nodes</code> (atalho sem o wrapper de cursor), <code>pageInfo</code> (<code>hasNextPage</code>, <code>hasPreviousPage</code>, <code>startCursor</code>, <code>endCursor</code>) e <code>totalCount</code>. Use <code>first</code> + <code>after: &lt;pageInfo.endCursor&gt;</code> para avançar, ou <code>last</code> + <code>before: &lt;pageInfo.startCursor&gt;</code> para retroceder — não envie <code>first</code> e <code>last</code> na mesma chamada. Se nenhum dos dois for enviado, a página retornada é limitada a 20 resultados.</li>\n<li><strong><code>filter</code> de <code>tags</code> é busca por substring</strong> (case-insensitive), aplicada simultaneamente a <code>name</code> e <code>slug</code> — não é regex livre: caracteres especiais de regex enviados em <code>filter</code> são tratados como texto literal, não como wildcard.</li>\n<li><strong>Escopo por loja.</strong> As duas operações só enxergam tags da sua própria loja (autenticada via token); não há forma de consultar tags de outra loja.</li>\n</ul>\n","_postman_id":"1ccaa475-16e9-4720-8bad-734dc000b26d"},{"name":"Unbox Pay","item":[{"name":"Query","item":[{"name":"[Query] getInstallments","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns getInstallments data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"getInstallments\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"getInstallments returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.getInstallments;","    ","    if (data !== null) {","        if (data.installments !== undefined && data.installments !== null) {","            pm.expect(data.installments).to.be.an(\"array\");","        }","    }","});"]}}],"id":"27706560-f705-5730-aef1-414565c2325a","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInstallments($input: GetInstallmentsInput!) {\n  getInstallments(input: $input) {\n    installments {\n      installment\n      amount\n      currency\n      symbol\n      amountWithoutInterest\n      interestRatePercentage\n      installmentInterest\n      totalInterest\n      totalBeforeInterest\n      total\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"amount\": 99.99\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"getinstallments\">getInstallments</h2>\n<p><strong>Propósito:</strong> Simula as opções de parcelamento disponíveis para um valor de compra, na loja autenticada.\n<strong>Quando usar:</strong> Chame antes de fechar um pedido (ex.: junto do <code>createExternalCheckout</code>) para exibir ao comprador quantas parcelas ele pode escolher e o valor de cada uma, incluindo juros quando a loja os aplica. Não reserva nem altera nada — é apenas um cálculo, pode ser chamado quantas vezes forem necessárias.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. A loja é derivada automaticamente do seu token — não envie <code>shopId</code>, esse argumento não existe nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.amount</code></td>\n<td><code>Float!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Valor total da compra, em unidades decimais da moeda da loja (ex.: <code>149.90</code> para R$ 149,90 — <strong>não</strong> envie em centavos). A API calcula as opções de parcelamento com base nesse valor.</td>\n</tr>\n<tr>\n<td><code>input.clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Identificador livre de correlação da sua chamada. Não é usado no cálculo e não volta na resposta desta operação — envie apenas se for útil para seu próprio rastreamento de requisições.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Não há validação explícita de <code>input.amount</code>: enviar <code>0</code> ou um valor negativo não retorna um erro de validação — apenas produz parcelas com valores sem sentido de negócio. Garanta que o valor enviado seja sempre positivo e condizente com o total real da compra.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>GetInstallmentsResponse</code>: um único campo, <code>installments</code>, com a lista completa de opções de parcelamento — uma entrada por número de parcelas, de 1 até o máximo configurado para a loja. Não é possível pedir apenas uma quantidade específica.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>installments</code></td>\n<td><code>[ShopInstallment]!</code></td>\n<td>Lista de opções, uma por número de parcelas.</td>\n</tr>\n<tr>\n<td><code>installments[].installment</code></td>\n<td><code>Int!</code></td>\n<td>Número de parcelas desta opção (1, 2, 3...).</td>\n</tr>\n<tr>\n<td><code>installments[].amount</code></td>\n<td><code>Float!</code></td>\n<td>Valor de cada parcela para esse número de parcelas, já incluindo juros quando a loja os aplica.</td>\n</tr>\n<tr>\n<td><code>installments[].currency</code></td>\n<td><code>String!</code></td>\n<td>Código da moeda da loja (ex.: <code>BRL</code>).</td>\n</tr>\n<tr>\n<td><code>installments[].symbol</code></td>\n<td><code>String!</code></td>\n<td>Símbolo da moeda (ex.: <code>R$</code>).</td>\n</tr>\n<tr>\n<td><code>installments[].amountWithoutInterest</code></td>\n<td><code>Float</code></td>\n<td>Valor da parcela sem juros. Vem preenchido só quando a loja aplica juros para esse número de parcelas; caso contrário é <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>installments[].interestRatePercentage</code></td>\n<td><code>Float</code></td>\n<td>Percentual de juros aplicado <strong>uma única vez sobre o valor total da compra</strong> (<code>input.amount</code>) para essa opção — não é uma taxa mensal nem composta por parcela. <code>null</code> quando não há juros nessa faixa de parcelas.</td>\n</tr>\n<tr>\n<td><code>installments[].installmentInterest</code></td>\n<td><code>Float</code></td>\n<td>Fração dos juros embutida em cada parcela: <code>totalInterest</code> dividido pelo número de parcelas dessa opção. <code>null</code> quando não há juros nessa faixa.</td>\n</tr>\n<tr>\n<td><code>installments[].totalInterest</code></td>\n<td><code>Float</code></td>\n<td>Total de juros cobrado sobre a compra inteira para esse número de parcelas (<code>0</code> quando não há juros).</td>\n</tr>\n<tr>\n<td><code>installments[].totalBeforeInterest</code></td>\n<td><code>Float</code></td>\n<td>O valor original enviado em <code>input.amount</code>, repetido em cada opção para referência.</td>\n</tr>\n<tr>\n<td><code>installments[].total</code></td>\n<td><code>Float</code></td>\n<td>Valor total a pagar para esse número de parcelas (<code>input.amount</code> + <code>totalInterest</code> daquela faixa).</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Cuidado com arredondamento:</strong> <code>amount</code>, <code>total</code> e os demais valores são arredondados independentemente para duas casas decimais. <code>amount × installment</code> pode divergir de <code>total</code> em poucos centavos (ex.: 7 parcelas de <code>20.57</code> somam <code>143.99</code>, mas <code>total</code> pode ser <code>144.00</code>). Use sempre <code>total</code>/<code>totalInterest</code> como valores autoritativos — não os recalcule a partir de <code>amount</code>.</p>\n<h3 id=\"exemplo\">Exemplo</h3>\n<p>Ilustração (valores de uma loja hipotética, apenas para explicar o formato — os limiares reais variam por loja): <code>input.amount = 120</code>, com juros configurados a partir da 2ª parcela (10%), da 6ª (20%) e da 10ª (30%):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>installment</code></th>\n<th><code>amount</code></th>\n<th><code>amountWithoutInterest</code></th>\n<th><code>interestRatePercentage</code></th>\n<th><code>installmentInterest</code></th>\n<th><code>totalInterest</code></th>\n<th><code>total</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>120</td>\n<td><code>null</code></td>\n<td><code>null</code></td>\n<td><code>null</code></td>\n<td>0</td>\n<td>120</td>\n</tr>\n<tr>\n<td>2</td>\n<td>66</td>\n<td>60</td>\n<td>10</td>\n<td>6</td>\n<td>12</td>\n<td>132</td>\n</tr>\n<tr>\n<td>6</td>\n<td>24</td>\n<td>20</td>\n<td>20</td>\n<td>4</td>\n<td>24</td>\n<td>144</td>\n</tr>\n<tr>\n<td>10</td>\n<td>15.6</td>\n<td>12</td>\n<td>30</td>\n<td>3.6</td>\n<td>36</td>\n<td>156</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note que <code>total</code>/<code>totalInterest</code> são iguais entre parcelas 2–5 (mesma faixa de 10%) e entre 6–9 (mesma faixa de 20%) — só <code>amount</code> muda, dividindo o mesmo total em mais parcelas.</p>\n<h3 id=\"erros\">Erros</h3>\n<p>Esta operação não expõe hoje códigos estáveis de erro (<code>extensions.code</code>) — identifique o cenário pela mensagem em <code>message</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente, inválido ou expirado, impedindo a derivação da loja autenticada.</td>\n<td>Refaça <code>signIn</code> e reenvie a chamada com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>A loja autenticada não tem parcelamento (Unbox Pay) configurado.</td>\n<td>Contate seu representante Unbox para configurar as regras de parcelamento da loja antes de chamar esta operação.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha, mesmo para os cenários acima.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>amountWithoutInterest</code>, <code>interestRatePercentage</code> e <code>installmentInterest</code> só aparecem quando a loja aplica juros</strong> para aquele número específico de parcelas. Trate a ausência (<code>null</code>) como \"sem juros nesta opção\", não como dado faltando. Ver Exemplo acima para o formato completo.</li>\n<li><strong>Sem efeito colateral e idempotente</strong>: é apenas um cálculo, pode repetir a chamada livremente.</li>\n<li><code>input.amount</code> deve ser sempre em formato decimal da moeda — nunca em centavos.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a40f9a59-752c-4635-9f45-3149d8b8a187","name":"200 - getInstallments","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInstallments($input: GetInstallmentsInput!) {\n  getInstallments(input: $input) {\n    installments {\n      installment\n      amount\n      currency\n      symbol\n      amountWithoutInterest\n      interestRatePercentage\n      installmentInterest\n      totalInterest\n      totalBeforeInterest\n      total\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"amount\": 99.99\n  }\n}"}},"url":"{{base_url}}","description":"## getInstallments\n\n**Propósito:** Simula as opções de parcelamento disponíveis para um valor de compra, na loja autenticada.\n**Quando usar:** Chame antes de fechar um pedido (ex.: junto do `createExternalCheckout`) para exibir ao comprador quantas parcelas ele pode escolher e o valor de cada uma, incluindo juros quando a loja os aplica. Não reserva nem altera nada — é apenas um cálculo, pode ser chamado quantas vezes forem necessárias.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é derivada automaticamente do seu token — não envie `shopId`, esse argumento não existe nesta operação.\n\n### Argumentos\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                                                                                                                                                |\n| ------------------------ | -------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.amount`           | `Float!` | Sim         | —       | Valor total da compra, em unidades decimais da moeda da loja (ex.: `149.90` para R$ 149,90 — **não** envie em centavos). A API calcula as opções de parcelamento com base nesse valor.   |\n| `input.clientMutationId` | `String` | Não         | `null`  | Identificador livre de correlação da sua chamada. Não é usado no cálculo e não volta na resposta desta operação — envie apenas se for útil para seu próprio rastreamento de requisições. |\n\nNão há validação explícita de `input.amount`: enviar `0` ou um valor negativo não retorna um erro de validação — apenas produz parcelas com valores sem sentido de negócio. Garanta que o valor enviado seja sempre positivo e condizente com o total real da compra.\n\n### Retorno\n\n`GetInstallmentsResponse`: um único campo, `installments`, com a lista completa de opções de parcelamento — uma entrada por número de parcelas, de 1 até o máximo configurado para a loja. Não é possível pedir apenas uma quantidade específica.\n\n| Propriedade                             | Tipo                 | Descrição                                                                                                                                                                                                           |\n| --------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `installments`                          | `[ShopInstallment]!` | Lista de opções, uma por número de parcelas.                                                                                                                                                                        |\n| `installments[].installment`            | `Int!`               | Número de parcelas desta opção (1, 2, 3...).                                                                                                                                                                        |\n| `installments[].amount`                 | `Float!`             | Valor de cada parcela para esse número de parcelas, já incluindo juros quando a loja os aplica.                                                                                                                     |\n| `installments[].currency`               | `String!`            | Código da moeda da loja (ex.: `BRL`).                                                                                                                                                                               |\n| `installments[].symbol`                 | `String!`            | Símbolo da moeda (ex.: `R$`).                                                                                                                                                                                       |\n| `installments[].amountWithoutInterest`  | `Float`              | Valor da parcela sem juros. Vem preenchido só quando a loja aplica juros para esse número de parcelas; caso contrário é `null`.                                                                                     |\n| `installments[].interestRatePercentage` | `Float`              | Percentual de juros aplicado **uma única vez sobre o valor total da compra** (`input.amount`) para essa opção — não é uma taxa mensal nem composta por parcela. `null` quando não há juros nessa faixa de parcelas. |\n| `installments[].installmentInterest`    | `Float`              | Fração dos juros embutida em cada parcela: `totalInterest` dividido pelo número de parcelas dessa opção. `null` quando não há juros nessa faixa.                                                                    |\n| `installments[].totalInterest`          | `Float`              | Total de juros cobrado sobre a compra inteira para esse número de parcelas (`0` quando não há juros).                                                                                                               |\n| `installments[].totalBeforeInterest`    | `Float`              | O valor original enviado em `input.amount`, repetido em cada opção para referência.                                                                                                                                 |\n| `installments[].total`                  | `Float`              | Valor total a pagar para esse número de parcelas (`input.amount` + `totalInterest` daquela faixa).                                                                                                                  |\n\n**Cuidado com arredondamento:** `amount`, `total` e os demais valores são arredondados independentemente para duas casas decimais. `amount × installment` pode divergir de `total` em poucos centavos (ex.: 7 parcelas de `20.57` somam `143.99`, mas `total` pode ser `144.00`). Use sempre `total`/`totalInterest` como valores autoritativos — não os recalcule a partir de `amount`.\n\n### Exemplo\n\nIlustração (valores de uma loja hipotética, apenas para explicar o formato — os limiares reais variam por loja): `input.amount = 120`, com juros configurados a partir da 2ª parcela (10%), da 6ª (20%) e da 10ª (30%):\n\n| `installment` | `amount` | `amountWithoutInterest` | `interestRatePercentage` | `installmentInterest` | `totalInterest` | `total` |\n| ------------- | -------- | ----------------------- | ------------------------ | --------------------- | --------------- | ------- |\n| 1             | 120      | `null`                  | `null`                   | `null`                | 0               | 120     |\n| 2             | 66       | 60                      | 10                       | 6                     | 12              | 132     |\n| 6             | 24       | 20                      | 20                       | 4                     | 24              | 144     |\n| 10            | 15.6     | 12                      | 30                       | 3.6                   | 36              | 156     |\n\nNote que `total`/`totalInterest` são iguais entre parcelas 2–5 (mesma faixa de 10%) e entre 6–9 (mesma faixa de 20%) — só `amount` muda, dividindo o mesmo total em mais parcelas.\n\n### Erros\n\nEsta operação não expõe hoje códigos estáveis de erro (`extensions.code`) — identifique o cenário pela mensagem em `message`.\n\n| Código         | Condição                                                                                  | O que fazer                                                                                                      |\n| -------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `Authorization` ausente, inválido ou expirado, impedindo a derivação da loja autenticada. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                               |\n| _(sem código)_ | A loja autenticada não tem parcelamento (Unbox Pay) configurado.                          | Contate seu representante Unbox para configurar as regras de parcelamento da loja antes de chamar esta operação. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo para os cenários acima.\n\n### Notas\n\n- **`amountWithoutInterest`, `interestRatePercentage` e `installmentInterest` só aparecem quando a loja aplica juros** para aquele número específico de parcelas. Trate a ausência (`null`) como \"sem juros nesta opção\", não como dado faltando. Ver Exemplo acima para o formato completo.\n- **Sem efeito colateral e idempotente**: é apenas um cálculo, pode repetir a chamada livremente.\n- `input.amount` deve ser sempre em formato decimal da moeda — nunca em centavos."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"getInstallments\": {\n      \"installments\": [\n        {\n          \"installment\": 10,\n          \"amount\": 99.99,\n          \"currency\": \"Example_String\",\n          \"symbol\": \"Example_String\",\n          \"amountWithoutInterest\": 99.99,\n          \"interestRatePercentage\": 99.99,\n          \"installmentInterest\": 99.99,\n          \"totalInterest\": 99.99,\n          \"totalBeforeInterest\": 99.99,\n          \"total\": 99.99\n        }\n      ]\n    }\n  }\n}"},{"id":"910b5a68-02e7-4719-b16d-a068a0c6bf3a","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInstallments($input: GetInstallmentsInput!) {\n  getInstallments(input: $input) {\n    installments {\n      installment\n      amount\n      currency\n      symbol\n      amountWithoutInterest\n      interestRatePercentage\n      installmentInterest\n      totalInterest\n      totalBeforeInterest\n      total\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"amount\": 99.99\n  }\n}"}},"url":"{{base_url}}","description":"## getInstallments\n\n**Propósito:** Simula as opções de parcelamento disponíveis para um valor de compra, na loja autenticada.\n**Quando usar:** Chame antes de fechar um pedido (ex.: junto do `createExternalCheckout`) para exibir ao comprador quantas parcelas ele pode escolher e o valor de cada uma, incluindo juros quando a loja os aplica. Não reserva nem altera nada — é apenas um cálculo, pode ser chamado quantas vezes forem necessárias.\n**Autenticação:** `x-api-key` + `Authorization`. A loja é derivada automaticamente do seu token — não envie `shopId`, esse argumento não existe nesta operação.\n\n### Argumentos\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                                                                                                                                                |\n| ------------------------ | -------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.amount`           | `Float!` | Sim         | —       | Valor total da compra, em unidades decimais da moeda da loja (ex.: `149.90` para R$ 149,90 — **não** envie em centavos). A API calcula as opções de parcelamento com base nesse valor.   |\n| `input.clientMutationId` | `String` | Não         | `null`  | Identificador livre de correlação da sua chamada. Não é usado no cálculo e não volta na resposta desta operação — envie apenas se for útil para seu próprio rastreamento de requisições. |\n\nNão há validação explícita de `input.amount`: enviar `0` ou um valor negativo não retorna um erro de validação — apenas produz parcelas com valores sem sentido de negócio. Garanta que o valor enviado seja sempre positivo e condizente com o total real da compra.\n\n### Retorno\n\n`GetInstallmentsResponse`: um único campo, `installments`, com a lista completa de opções de parcelamento — uma entrada por número de parcelas, de 1 até o máximo configurado para a loja. Não é possível pedir apenas uma quantidade específica.\n\n| Propriedade                             | Tipo                 | Descrição                                                                                                                                                                                                           |\n| --------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `installments`                          | `[ShopInstallment]!` | Lista de opções, uma por número de parcelas.                                                                                                                                                                        |\n| `installments[].installment`            | `Int!`               | Número de parcelas desta opção (1, 2, 3...).                                                                                                                                                                        |\n| `installments[].amount`                 | `Float!`             | Valor de cada parcela para esse número de parcelas, já incluindo juros quando a loja os aplica.                                                                                                                     |\n| `installments[].currency`               | `String!`            | Código da moeda da loja (ex.: `BRL`).                                                                                                                                                                               |\n| `installments[].symbol`                 | `String!`            | Símbolo da moeda (ex.: `R$`).                                                                                                                                                                                       |\n| `installments[].amountWithoutInterest`  | `Float`              | Valor da parcela sem juros. Vem preenchido só quando a loja aplica juros para esse número de parcelas; caso contrário é `null`.                                                                                     |\n| `installments[].interestRatePercentage` | `Float`              | Percentual de juros aplicado **uma única vez sobre o valor total da compra** (`input.amount`) para essa opção — não é uma taxa mensal nem composta por parcela. `null` quando não há juros nessa faixa de parcelas. |\n| `installments[].installmentInterest`    | `Float`              | Fração dos juros embutida em cada parcela: `totalInterest` dividido pelo número de parcelas dessa opção. `null` quando não há juros nessa faixa.                                                                    |\n| `installments[].totalInterest`          | `Float`              | Total de juros cobrado sobre a compra inteira para esse número de parcelas (`0` quando não há juros).                                                                                                               |\n| `installments[].totalBeforeInterest`    | `Float`              | O valor original enviado em `input.amount`, repetido em cada opção para referência.                                                                                                                                 |\n| `installments[].total`                  | `Float`              | Valor total a pagar para esse número de parcelas (`input.amount` + `totalInterest` daquela faixa).                                                                                                                  |\n\n**Cuidado com arredondamento:** `amount`, `total` e os demais valores são arredondados independentemente para duas casas decimais. `amount × installment` pode divergir de `total` em poucos centavos (ex.: 7 parcelas de `20.57` somam `143.99`, mas `total` pode ser `144.00`). Use sempre `total`/`totalInterest` como valores autoritativos — não os recalcule a partir de `amount`.\n\n### Exemplo\n\nIlustração (valores de uma loja hipotética, apenas para explicar o formato — os limiares reais variam por loja): `input.amount = 120`, com juros configurados a partir da 2ª parcela (10%), da 6ª (20%) e da 10ª (30%):\n\n| `installment` | `amount` | `amountWithoutInterest` | `interestRatePercentage` | `installmentInterest` | `totalInterest` | `total` |\n| ------------- | -------- | ----------------------- | ------------------------ | --------------------- | --------------- | ------- |\n| 1             | 120      | `null`                  | `null`                   | `null`                | 0               | 120     |\n| 2             | 66       | 60                      | 10                       | 6                     | 12              | 132     |\n| 6             | 24       | 20                      | 20                       | 4                     | 24              | 144     |\n| 10            | 15.6     | 12                      | 30                       | 3.6                   | 36              | 156     |\n\nNote que `total`/`totalInterest` são iguais entre parcelas 2–5 (mesma faixa de 10%) e entre 6–9 (mesma faixa de 20%) — só `amount` muda, dividindo o mesmo total em mais parcelas.\n\n### Erros\n\nEsta operação não expõe hoje códigos estáveis de erro (`extensions.code`) — identifique o cenário pela mensagem em `message`.\n\n| Código         | Condição                                                                                  | O que fazer                                                                                                      |\n| -------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_ | `Authorization` ausente, inválido ou expirado, impedindo a derivação da loja autenticada. | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                               |\n| _(sem código)_ | A loja autenticada não tem parcelamento (Unbox Pay) configurado.                          | Contate seu representante Unbox para configurar as regras de parcelamento da loja antes de chamar esta operação. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha, mesmo para os cenários acima.\n\n### Notas\n\n- **`amountWithoutInterest`, `interestRatePercentage` e `installmentInterest` só aparecem quando a loja aplica juros** para aquele número específico de parcelas. Trate a ausência (`null`) como \"sem juros nesta opção\", não como dado faltando. Ver Exemplo acima para o formato completo.\n- **Sem efeito colateral e idempotente**: é apenas um cálculo, pode repetir a chamada livremente.\n- `input.amount` deve ser sempre em formato decimal da moeda — nunca em centavos."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"}],"_postman_id":"27706560-f705-5730-aef1-414565c2325a"}],"id":"5655092f-807d-492c-9cd0-e827815bac41","_postman_id":"5655092f-807d-492c-9cd0-e827815bac41","description":""}],"id":"3b20b2af-80b0-49ee-9737-52cae0aa63d1","description":"<h1 id=\"unbox-pay\">Unbox Pay</h1>\n<p>Simulação de parcelamento: dado um valor de compra, retorna as opções de parcelas disponíveis para a loja autenticada, já com juros aplicados quando configurado. Use antes de fechar um pedido para exibir ao comprador as opções de pagamento parcelado.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tipo</th>\n<th>Campos</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ShopInstallment</code></td>\n<td><code>installment</code>, <code>amount</code>, <code>currency</code>, <code>symbol</code>, <code>amountWithoutInterest</code>, <code>interestRatePercentage</code>, <code>installmentInterest</code>, <code>totalInterest</code>, <code>totalBeforeInterest</code>, <code>total</code></td>\n<td>Uma opção de parcelamento (para um número específico de parcelas) dentro da lista retornada por <code>getInstallments</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong>A loja precisa ter parcelamento (Unbox Pay) configurado.</strong> O número máximo de parcelas e a existência (ou não) de juros são definidos por configuração da loja, não por argumento da chamada — fale com seu contato Unbox para revisar essas regras.</li>\n<li><strong><code>amount</code> é sempre em unidades decimais da moeda</strong>, não em centavos (ex.: <code>149.90</code> para R$ 149,90). Isso é diferente de outras operações desta API que usam valores monetários em centavos — confira sempre a unidade esperada por cada campo.</li>\n<li><strong>A resposta sempre traz a lista completa de opções</strong>, de 1 parcela até o máximo configurado para a loja — não há como pedir apenas uma quantidade específica de parcelas.</li>\n<li><strong>Juros, quando configurados, são aplicados por faixa de número de parcelas</strong> (ex.: sem juros até 5 parcelas, uma taxa a partir de 6, outra a partir de 10). Dentro da mesma faixa, o valor total pago é igual — o que muda é apenas quantas parcelas dividem esse total.</li>\n</ul>\n","_postman_id":"3b20b2af-80b0-49ee-9737-52cae0aa63d1"},{"name":"Webhooks","item":[{"name":"Mutation","item":[{"name":"[Mutation] subscribeToWebhook","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is 200\", function() {","    pm.response.to.have.status(200);","});","","pm.test(\"No GraphQL errors\", function() {","    const json = pm.response.json();","    pm.expect(json.errors).to.be.undefined;","});","","pm.test(\"Returns subscribeToWebhook data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"subscribeToWebhook\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"37a24d25-ada4-55f3-89f7-5056dfeb616c","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SubscribeToWebhook($input: SubscribeToWebhookInput) {\n  subscribeToWebhook(input: $input) {\n    _id\n    eventType\n    secret\n    endpoint\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"eventType\": \"PING\",\n    \"endpoint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"subscribetowebhook\">subscribeToWebhook</h2>\n<p><strong>Propósito:</strong> Registra um endpoint HTTP para receber notificações assíncronas (webhooks) de um tipo de evento.\n<strong>Quando usar:</strong> Configure uma assinatura para ser notificado sobre eventos de pedido (criação e mudança de status) sem precisar consultar a API por polling. Não é idempotente: chamar novamente com o mesmo <code>eventType</code> <strong>não atualiza</strong> uma assinatura existente — cria uma nova, independente, com seu próprio <code>secret</code> (ver Notas).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code>. O shop é identificado a partir do seu token — não há argumento de shop nesta operação.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nome</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Default</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.eventType</code></td>\n<td><code>WebhookEventTypeEnum!</code></td>\n<td>Sim</td>\n<td>-</td>\n<td>Tipo de evento a assinar. Valores: <code>PING</code>, <code>ORDER_CREATED</code>, <code>ORDER_STATUS_UPDATE</code>.</td>\n</tr>\n<tr>\n<td><code>input.endpoint</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>-</td>\n<td>URL HTTP(S) que receberá as entregas deste evento. Deve ser uma URL válida e acessível publicamente.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>Retorna o registro da assinatura recém-criada.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Propriedade</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td><code>String!</code></td>\n<td>Identificador da assinatura.</td>\n</tr>\n<tr>\n<td><code>eventType</code></td>\n<td><code>WebhookEventTypeEnum!</code></td>\n<td>Tipo de evento assinado.</td>\n</tr>\n<tr>\n<td><code>secret</code></td>\n<td><code>String!</code></td>\n<td>Segredo usado para verificar a assinatura HMAC das entregas deste endpoint (header <code>X-Unbox-Signature</code>). É retornado <strong>apenas nesta chamada</strong>. <strong>Trate como credencial: armazene com segurança e nunca o exiba em logs, URLs ou telas.</strong></td>\n</tr>\n<tr>\n<td><code>endpoint</code></td>\n<td><code>String!</code></td>\n<td>URL registrada para receber as entregas.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>AWSDate!</code></td>\n<td>Data de criação da assinatura, no formato <code>AAAA-MM-DD</code> (escalar somente-data, sem horário).</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td><code>AWSDate!</code></td>\n<td>Data da última atualização da assinatura, mesmo formato de <code>createdAt</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Condição</th>\n<th>O que fazer</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Erro de validação de entrada</td>\n<td><code>input.endpoint</code> não é uma URL válida, <code>input.eventType</code> não é um dos valores aceitos, ou algum dos dois está ausente. Não há um <code>extensions.code</code> estável documentado para este caso — identifique-o pelo texto de <code>errors[].message</code>.</td>\n<td>Corrija o campo indicado na mensagem de erro e tente novamente.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>O <code>secret</code> só é exposto nesta chamada — não existe outra operação para recuperá-lo depois. <strong>Trate-o como credencial</strong> (armazene com segurança, nunca o exponha em logs ou telas). Se perdê-lo, a única forma de obter um novo é assinar novamente (o que cria uma assinatura adicional, não substitui a anterior).</li>\n<li>Logo após o registro, um evento <code>PING</code> (<code>data: { \"ping\": \"ping\" }</code>) é disparado automaticamente para o <code>endpoint</code> informado, para permitir verificar que ele está acessível e que a assinatura HMAC pode ser validada corretamente do seu lado. Esse envio é assíncrono: sucesso ou falha na entrega do <code>PING</code> <strong>não</strong> afeta o retorno desta mutation (a assinatura já foi criada e é retornada normalmente).</li>\n<li>Chamar <code>subscribeToWebhook</code> novamente com o mesmo <code>eventType</code> não atualiza nem substitui uma assinatura existente — cria uma nova, independente, com seu próprio <code>secret</code>. Isso pode resultar em entregas duplicadas do mesmo evento para os endpoints de todas as assinaturas ativas daquele tipo. Nesta versão da API não há operação para listar, atualizar ou remover assinaturas já criadas.</li>\n<li>Para o formato completo da entrega, verificação de assinatura (HMAC) e política de reenvio, veja a descrição do folder \"Webhooks\".</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e9c7175a-9c58-4d4f-98d2-60d057d31061","name":"200 - subscribeToWebhook","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SubscribeToWebhook($input: SubscribeToWebhookInput) {\n  subscribeToWebhook(input: $input) {\n    _id\n    eventType\n    secret\n    endpoint\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"eventType\": \"PING\",\n    \"endpoint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## subscribeToWebhook\n\n**Propósito:** Registra um endpoint HTTP para receber notificações assíncronas (webhooks) de um tipo de evento.\n**Quando usar:** Configure uma assinatura para ser notificado sobre eventos de pedido (criação e mudança de status) sem precisar consultar a API por polling. Não é idempotente: chamar novamente com o mesmo `eventType` **não atualiza** uma assinatura existente — cria uma nova, independente, com seu próprio `secret` (ver Notas).\n**Autenticação:** `x-api-key` + `Authorization`. O shop é identificado a partir do seu token — não há argumento de shop nesta operação.\n\n### Argumentos\n\n| Nome              | Tipo                    | Obrigatório | Default | Descrição                                                                                            |\n| ----------------- | ----------------------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------- |\n| `input.eventType` | `WebhookEventTypeEnum!` | Sim         | -       | Tipo de evento a assinar. Valores: `PING`, `ORDER_CREATED`, `ORDER_STATUS_UPDATE`.                   |\n| `input.endpoint`  | `String!`               | Sim         | -       | URL HTTP(S) que receberá as entregas deste evento. Deve ser uma URL válida e acessível publicamente. |\n\n### Retorno\n\nRetorna o registro da assinatura recém-criada.\n\n| Propriedade | Tipo                    | Descrição                                                                                                                                                                                                                                |\n| ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`       | `String!`               | Identificador da assinatura.                                                                                                                                                                                                             |\n| `eventType` | `WebhookEventTypeEnum!` | Tipo de evento assinado.                                                                                                                                                                                                                 |\n| `secret`    | `String!`               | Segredo usado para verificar a assinatura HMAC das entregas deste endpoint (header `X-Unbox-Signature`). É retornado **apenas nesta chamada**. **Trate como credencial: armazene com segurança e nunca o exiba em logs, URLs ou telas.** |\n| `endpoint`  | `String!`               | URL registrada para receber as entregas.                                                                                                                                                                                                 |\n| `createdAt` | `AWSDate!`              | Data de criação da assinatura, no formato `AAAA-MM-DD` (escalar somente-data, sem horário).                                                                                                                                              |\n| `updatedAt` | `AWSDate!`              | Data da última atualização da assinatura, mesmo formato de `createdAt`.                                                                                                                                                                  |\n\n### Erros\n\n| Código                       | Condição                                                                                                                                                                                                                                | O que fazer                                                     |\n| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |\n| Erro de validação de entrada | `input.endpoint` não é uma URL válida, `input.eventType` não é um dos valores aceitos, ou algum dos dois está ausente. Não há um `extensions.code` estável documentado para este caso — identifique-o pelo texto de `errors[].message`. | Corrija o campo indicado na mensagem de erro e tente novamente. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- O `secret` só é exposto nesta chamada — não existe outra operação para recuperá-lo depois. **Trate-o como credencial** (armazene com segurança, nunca o exponha em logs ou telas). Se perdê-lo, a única forma de obter um novo é assinar novamente (o que cria uma assinatura adicional, não substitui a anterior).\n- Logo após o registro, um evento `PING` (`data: { \"ping\": \"ping\" }`) é disparado automaticamente para o `endpoint` informado, para permitir verificar que ele está acessível e que a assinatura HMAC pode ser validada corretamente do seu lado. Esse envio é assíncrono: sucesso ou falha na entrega do `PING` **não** afeta o retorno desta mutation (a assinatura já foi criada e é retornada normalmente).\n- Chamar `subscribeToWebhook` novamente com o mesmo `eventType` não atualiza nem substitui uma assinatura existente — cria uma nova, independente, com seu próprio `secret`. Isso pode resultar em entregas duplicadas do mesmo evento para os endpoints de todas as assinaturas ativas daquele tipo. Nesta versão da API não há operação para listar, atualizar ou remover assinaturas já criadas.\n- Para o formato completo da entrega, verificação de assinatura (HMAC) e política de reenvio, veja a descrição do folder \"Webhooks\"."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"subscribeToWebhook\": {\n      \"_id\": \"Example_String\",\n      \"eventType\": \"PING\",\n      \"secret\": \"Example_String\",\n      \"endpoint\": \"Example_String\",\n      \"createdAt\": \"2025-01-15\",\n      \"updatedAt\": \"2025-01-15\"\n    }\n  }\n}"},{"id":"7c735242-1a13-4151-9c3b-5411f89abfb1","name":"401 - Unauthorized (missing x-api-key header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SubscribeToWebhook($input: SubscribeToWebhookInput) {\n  subscribeToWebhook(input: $input) {\n    _id\n    eventType\n    secret\n    endpoint\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"eventType\": \"PING\",\n    \"endpoint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## subscribeToWebhook\n\n**Propósito:** Registra um endpoint HTTP para receber notificações assíncronas (webhooks) de um tipo de evento.\n**Quando usar:** Configure uma assinatura para ser notificado sobre eventos de pedido (criação e mudança de status) sem precisar consultar a API por polling. Não é idempotente: chamar novamente com o mesmo `eventType` **não atualiza** uma assinatura existente — cria uma nova, independente, com seu próprio `secret` (ver Notas).\n**Autenticação:** `x-api-key` + `Authorization`. O shop é identificado a partir do seu token — não há argumento de shop nesta operação.\n\n### Argumentos\n\n| Nome              | Tipo                    | Obrigatório | Default | Descrição                                                                                            |\n| ----------------- | ----------------------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------- |\n| `input.eventType` | `WebhookEventTypeEnum!` | Sim         | -       | Tipo de evento a assinar. Valores: `PING`, `ORDER_CREATED`, `ORDER_STATUS_UPDATE`.                   |\n| `input.endpoint`  | `String!`               | Sim         | -       | URL HTTP(S) que receberá as entregas deste evento. Deve ser uma URL válida e acessível publicamente. |\n\n### Retorno\n\nRetorna o registro da assinatura recém-criada.\n\n| Propriedade | Tipo                    | Descrição                                                                                                                                                                                                                                |\n| ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`       | `String!`               | Identificador da assinatura.                                                                                                                                                                                                             |\n| `eventType` | `WebhookEventTypeEnum!` | Tipo de evento assinado.                                                                                                                                                                                                                 |\n| `secret`    | `String!`               | Segredo usado para verificar a assinatura HMAC das entregas deste endpoint (header `X-Unbox-Signature`). É retornado **apenas nesta chamada**. **Trate como credencial: armazene com segurança e nunca o exiba em logs, URLs ou telas.** |\n| `endpoint`  | `String!`               | URL registrada para receber as entregas.                                                                                                                                                                                                 |\n| `createdAt` | `AWSDate!`              | Data de criação da assinatura, no formato `AAAA-MM-DD` (escalar somente-data, sem horário).                                                                                                                                              |\n| `updatedAt` | `AWSDate!`              | Data da última atualização da assinatura, mesmo formato de `createdAt`.                                                                                                                                                                  |\n\n### Erros\n\n| Código                       | Condição                                                                                                                                                                                                                                | O que fazer                                                     |\n| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |\n| Erro de validação de entrada | `input.endpoint` não é uma URL válida, `input.eventType` não é um dos valores aceitos, ou algum dos dois está ausente. Não há um `extensions.code` estável documentado para este caso — identifique-o pelo texto de `errors[].message`. | Corrija o campo indicado na mensagem de erro e tente novamente. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- O `secret` só é exposto nesta chamada — não existe outra operação para recuperá-lo depois. **Trate-o como credencial** (armazene com segurança, nunca o exponha em logs ou telas). Se perdê-lo, a única forma de obter um novo é assinar novamente (o que cria uma assinatura adicional, não substitui a anterior).\n- Logo após o registro, um evento `PING` (`data: { \"ping\": \"ping\" }`) é disparado automaticamente para o `endpoint` informado, para permitir verificar que ele está acessível e que a assinatura HMAC pode ser validada corretamente do seu lado. Esse envio é assíncrono: sucesso ou falha na entrega do `PING` **não** afeta o retorno desta mutation (a assinatura já foi criada e é retornada normalmente).\n- Chamar `subscribeToWebhook` novamente com o mesmo `eventType` não atualiza nem substitui uma assinatura existente — cria uma nova, independente, com seu próprio `secret`. Isso pode resultar em entregas duplicadas do mesmo evento para os endpoints de todas as assinaturas ativas daquele tipo. Nesta versão da API não há operação para listar, atualizar ou remover assinaturas já criadas.\n- Para o formato completo da entrega, verificação de assinatura (HMAC) e política de reenvio, veja a descrição do folder \"Webhooks\"."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"errorType\": \"UnauthorizedException\",\n      \"message\": \"You are not authorized to make this call.\"\n    }\n  ]\n}"},{"id":"124d675d-7685-474f-a2c6-6cfb37f0c1f3","name":"401 - Unauthorized (missing Authorization header)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{api_key}}"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{authorization}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SubscribeToWebhook($input: SubscribeToWebhookInput) {\n  subscribeToWebhook(input: $input) {\n    _id\n    eventType\n    secret\n    endpoint\n    createdAt\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"eventType\": \"PING\",\n    \"endpoint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## subscribeToWebhook\n\n**Propósito:** Registra um endpoint HTTP para receber notificações assíncronas (webhooks) de um tipo de evento.\n**Quando usar:** Configure uma assinatura para ser notificado sobre eventos de pedido (criação e mudança de status) sem precisar consultar a API por polling. Não é idempotente: chamar novamente com o mesmo `eventType` **não atualiza** uma assinatura existente — cria uma nova, independente, com seu próprio `secret` (ver Notas).\n**Autenticação:** `x-api-key` + `Authorization`. O shop é identificado a partir do seu token — não há argumento de shop nesta operação.\n\n### Argumentos\n\n| Nome              | Tipo                    | Obrigatório | Default | Descrição                                                                                            |\n| ----------------- | ----------------------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------- |\n| `input.eventType` | `WebhookEventTypeEnum!` | Sim         | -       | Tipo de evento a assinar. Valores: `PING`, `ORDER_CREATED`, `ORDER_STATUS_UPDATE`.                   |\n| `input.endpoint`  | `String!`               | Sim         | -       | URL HTTP(S) que receberá as entregas deste evento. Deve ser uma URL válida e acessível publicamente. |\n\n### Retorno\n\nRetorna o registro da assinatura recém-criada.\n\n| Propriedade | Tipo                    | Descrição                                                                                                                                                                                                                                |\n| ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`       | `String!`               | Identificador da assinatura.                                                                                                                                                                                                             |\n| `eventType` | `WebhookEventTypeEnum!` | Tipo de evento assinado.                                                                                                                                                                                                                 |\n| `secret`    | `String!`               | Segredo usado para verificar a assinatura HMAC das entregas deste endpoint (header `X-Unbox-Signature`). É retornado **apenas nesta chamada**. **Trate como credencial: armazene com segurança e nunca o exiba em logs, URLs ou telas.** |\n| `endpoint`  | `String!`               | URL registrada para receber as entregas.                                                                                                                                                                                                 |\n| `createdAt` | `AWSDate!`              | Data de criação da assinatura, no formato `AAAA-MM-DD` (escalar somente-data, sem horário).                                                                                                                                              |\n| `updatedAt` | `AWSDate!`              | Data da última atualização da assinatura, mesmo formato de `createdAt`.                                                                                                                                                                  |\n\n### Erros\n\n| Código                       | Condição                                                                                                                                                                                                                                | O que fazer                                                     |\n| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |\n| Erro de validação de entrada | `input.endpoint` não é uma URL válida, `input.eventType` não é um dos valores aceitos, ou algum dos dois está ausente. Não há um `extensions.code` estável documentado para este caso — identifique-o pelo texto de `errors[].message`. | Corrija o campo indicado na mensagem de erro e tente novamente. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- O `secret` só é exposto nesta chamada — não existe outra operação para recuperá-lo depois. **Trate-o como credencial** (armazene com segurança, nunca o exponha em logs ou telas). Se perdê-lo, a única forma de obter um novo é assinar novamente (o que cria uma assinatura adicional, não substitui a anterior).\n- Logo após o registro, um evento `PING` (`data: { \"ping\": \"ping\" }`) é disparado automaticamente para o `endpoint` informado, para permitir verificar que ele está acessível e que a assinatura HMAC pode ser validada corretamente do seu lado. Esse envio é assíncrono: sucesso ou falha na entrega do `PING` **não** afeta o retorno desta mutation (a assinatura já foi criada e é retornada normalmente).\n- Chamar `subscribeToWebhook` novamente com o mesmo `eventType` não atualiza nem substitui uma assinatura existente — cria uma nova, independente, com seu próprio `secret`. Isso pode resultar em entregas duplicadas do mesmo evento para os endpoints de todas as assinaturas ativas daquele tipo. Nesta versão da API não há operação para listar, atualizar ou remover assinaturas já criadas.\n- Para o formato completo da entrega, verificação de assinatura (HMAC) e política de reenvio, veja a descrição do folder \"Webhooks\"."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"message\": \"Unauthorized - No authenticated user\",\n      \"errorType\": \"UnauthorizedException\"\n    }\n  ]\n}"}],"_postman_id":"37a24d25-ada4-55f3-89f7-5056dfeb616c"}],"id":"7658fedd-b892-4e77-8ed5-23d6f66aee91","_postman_id":"7658fedd-b892-4e77-8ed5-23d6f66aee91","description":""}],"id":"0b9968e3-db02-4ffc-933d-ecfa75f0ff39","description":"<h1 id=\"webhooks\">Webhooks</h1>\n<p>Domínio de notificações assíncronas. Permite que a loja parceira registre um endpoint HTTP que passa a receber eventos em tempo real (pedido criado, mudança de status de pedido), eliminando a necessidade de polling. Hoje expõe uma única operação, <code>subscribeToWebhook</code>.</p>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<h3 id=\"webhookeventtypeenum\"><code>WebhookEventTypeEnum</code></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PING</code></td>\n<td>Evento de verificação enviado automaticamente logo após o registro de uma assinatura, para confirmar que o endpoint está acessível.</td>\n</tr>\n<tr>\n<td><code>ORDER_CREATED</code></td>\n<td>Disparado quando um novo pedido é criado.</td>\n</tr>\n<tr>\n<td><code>ORDER_STATUS_UPDATE</code></td>\n<td>Disparado quando o status do pedido (ou o status de pagamento do pedido) é atualizado.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"formato-da-entrega\">Formato da entrega</h2>\n<p>Cada evento é entregue como uma requisição HTTP <code>POST</code> para o <code>endpoint</code> informado no registro, com um corpo JSON no formato:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"_id\": \"&lt;id único desta entrega&gt;\",\n  \"type\": \"ORDER_CREATED\",\n  \"data\": { \"...\": \"...\" },\n  \"createdAt\": \"2024-01-01T00:00:00.000Z\"\n}\n</code></pre>\n<ul>\n<li><code>type</code> é um dos valores de <code>WebhookEventTypeEnum</code>.</li>\n<li><code>data</code> varia conforme <code>type</code>: para <code>PING</code> é <code>{ \"ping\": \"ping\" }</code>; para eventos de pedido, é a representação do pedido relacionado ao evento.</li>\n<li>Header <code>Content-Type: application/json</code>.</li>\n</ul>\n<h2 id=\"verificação-de-assinatura-hmac\">Verificação de assinatura (HMAC)</h2>\n<p>Toda entrega inclui o header <code>X-Unbox-Signature</code>: um HMAC-SHA256, em hexadecimal, calculado sobre o corpo bruto (JSON serializado) da requisição, usando como chave o <code>secret</code> retornado por <code>subscribeToWebhook</code> para aquela assinatura.</p>\n<p>Para validar uma entrega recebida:</p>\n<ol>\n<li>Calcule o HMAC-SHA256 do corpo bruto (exatamente como recebido, antes de qualquer parsing) usando o seu <code>secret</code> como chave.</li>\n<li>Compare o resultado (hex) com o header <code>X-Unbox-Signature</code>. Só processe o evento se forem idênticos; caso contrário, descarte a requisição.</li>\n</ol>\n<blockquote>\n<p>Trate o <code>secret</code> como uma credencial: armazene-o de forma segura (nunca em logs, URLs ou repositórios de código) e nunca o exponha em respostas de API ou telas de suporte. Sem ele, qualquer terceiro poderia forjar entregas para o seu endpoint.</p>\n</blockquote>\n<h2 id=\"política-de-reenvio-retry\">Política de reenvio (retry)</h2>\n<p>Seu endpoint deve responder <strong>HTTP 200</strong> dentro de um tempo curto (alguns segundos) para que a entrega seja considerada bem-sucedida. Qualquer resposta diferente de 200 — incluindo timeout — é tratada como falha de entrega.</p>\n<p>Em caso de falha, a entrega é reenviada automaticamente algumas vezes, com <strong>backoff exponencial</strong> (o intervalo entre tentativas cresce a cada nova tentativa). Após esgotar as tentativas, o evento é descartado — não há reenvio manual nem fila de eventos perdidos exposta ao parceiro. Os valores exatos de timeout, número de tentativas e intervalo são operacionais e podem ser ajustados sem aviso prévio; não construa lógica que dependa de um número exato de tentativas.</p>\n<p>Recomendação: responda <code>200</code> assim que receber e validar a assinatura do evento, processando o conteúdo de forma assíncrona no seu lado — isso minimiza a chance de timeout e de reentregas desnecessárias.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li>Assinar novamente o mesmo <code>eventType</code> (chamando <code>subscribeToWebhook</code> de novo) <strong>não substitui</strong> uma assinatura existente: cria uma assinatura independente adicional, com seu próprio <code>secret</code>. Se o mesmo evento for assinado mais de uma vez, o(s) endpoint(s) registrados recebem o mesmo evento várias vezes (uma entrega por assinatura ativa).</li>\n<li>Nesta versão da API não há operação para listar, atualizar ou remover assinaturas de webhook já criadas.</li>\n</ul>\n","_postman_id":"0b9968e3-db02-4ffc-933d-ecfa75f0ff39"}],"variable":[{"key":"base_url","value":"{{base_url}}","type":"string"}]}